Namespace: Microsoft.Clm.Provision
Assembly: Microsoft.Clm.Provision (in microsoft.clm.provision.dll)
Usage
Visual Basic |
---|
Dim oldProfile As Profile Dim dataCollection As DataCollection Dim comment As String Dim priority As Byte Dim returnValue As Request returnValue = RequestOperations.InitiateRecover(oldProfile, dataCollection, comment, priority) |
Syntax
Visual Basic |
---|
Public Shared Function InitiateRecover ( _ oldProfile As Profile, _ dataCollection As DataCollection, _ comment As String, _ priority As Byte _ ) As Request |
C# |
---|
public static Request InitiateRecover ( Profile oldProfile, DataCollection dataCollection, string comment, byte priority ) |
C++ |
---|
public: static Request^ InitiateRecover ( Profile^ oldProfile, DataCollection^ dataCollection, String^ comment, unsigned char priority ) |
J# |
---|
public static Request InitiateRecover ( Profile oldProfile, DataCollection dataCollection, String comment, byte priority ) |
JScript |
---|
public static function InitiateRecover ( oldProfile : Profile, dataCollection : DataCollection, comment : String, priority : byte ) : Request |
Parameters
- oldProfile
-
A Profile object that describes the profile to be recovered.
- dataCollection
-
A DataCollection object that contains all manager DataCollectionItem objects. This parameter must not be Null.
- comment
-
A String object that contains a comment to be included in the history of the FIM CM request. Set this parameter to Null for no comment.
- priority
-
The priority of the FIM CM request.
Return Value
A Request object for the new FIM CM recover request.Remarks
The following permissions are checked when this method is called:
-
The current user must have FIM CM Request Recover permissions on the target user.
-
The current user must have Read permissions on the profile template.
-
The current user must be a FIM CM manager with Read and FIM CM Request Recover permissions on the service connection point.
-
The current user must be listed as an Initiator on the Recover policy.
Thread Safety
Any public static (Shared in Visual
Basic) members of this type are thread safe. Any instance members
are not guaranteed to be thread safe.