RequestOperations.InitiateEnroll Method

Creates a new CLM enroll request, where the current user is the initiator.

Namespace: Microsoft.Clm.Provision
Assembly: Microsoft.Clm.Provision (in microsoft.clm.provision.dll)

Syntax

'Declaration
Public Shared Function InitiateEnroll ( _
    profileTemplateUuid As Guid, _
    dataCollection As DataCollection, _
    targetUserUuid As Guid, _
    comment As String, _
    priority As Byte _
) As Request
'Usage
Dim profileTemplateUuid As Guid
Dim dataCollection As DataCollection
Dim targetUserUuid As Guid
Dim comment As String
Dim priority As Byte
Dim returnValue As Request

returnValue = RequestOperations.InitiateEnroll(profileTemplateUuid, dataCollection, targetUserUuid, comment, priority)
public static Request InitiateEnroll (
    Guid profileTemplateUuid,
    DataCollection dataCollection,
    Guid targetUserUuid,
    string comment,
    byte priority
)
public:
static Request^ InitiateEnroll (
    Guid profileTemplateUuid, 
    DataCollection^ dataCollection, 
    Guid targetUserUuid, 
    String^ comment, 
    unsigned char priority
)
public static Request InitiateEnroll (
    Guid profileTemplateUuid, 
    DataCollection dataCollection, 
    Guid targetUserUuid, 
    String comment, 
    byte priority
)
public static function InitiateEnroll (
    profileTemplateUuid : Guid, 
    dataCollection : DataCollection, 
    targetUserUuid : Guid, 
    comment : String, 
    priority : byte
) : Request

Parameters

  • profileTemplateUuid
    A Guid object that identifies the profile template for which to enroll.
  • targetUserUuid
    A Guid object that identifies the target user.
  • comment
    A String object that contains a comment to be included in the history of the CLM request. Set this parameter to Null for no comment.
  • priority
    The priority of the CLM request.

Return Value

A Request object for the new CLM enroll request.

Remarks

The following permissions are checked when this method is called:

  • The target user must have Enroll and Read permissions on the profile template.

  • The current user must have CLM Request Enroll permissions on the target user.

  • The current user must have Read permissions on the profile template.

  • The current user must be a CLM manager with Read and CLM Request Enroll permissions on the service connection point.

  • The current user must be listed as an Initiator on the Enroll policy in the profile template.

Platforms

Windows XP SP2, Windows Server 2003 SP1

See Also

Reference

RequestOperations Class
RequestOperations Members
Microsoft.Clm.Provision Namespace
DataCollection
DataCollectionItem
Request

Footer image

Send comments about this topic to Microsoft.

© 2007 Microsoft Corporation. All rights reserved.