Perform the enroll operation for both smart cards and software based profiles.
Namespace: Microsoft.Clm.Provision
Assembly: Microsoft.Clm.Provision (in microsoft.clm.provision.dll)


Visual Basic
Dim requestUuid As Guid
Dim certificateRequests As ReadOnlyCollection(Of CertificateRequest)
Dim pfxPassword As String
Dim comment As String
Dim returnValue As ReadOnlyCollection(Of Certificate)

returnValue = ExecuteOperations.Enroll(requestUuid, certificateRequests, pfxPassword, comment)


Visual Basic
Public Shared Function Enroll ( _
		requestUuid As Guid, _
		certificateRequests As ReadOnlyCollection(Of CertificateRequest), _
		pfxPassword As String, _
		comment As String _
) As ReadOnlyCollection(Of Certificate)
public static ReadOnlyCollection<Certificate> Enroll (
		Guid requestUuid,
		ReadOnlyCollection<CertificateRequest> certificateRequests,
		string pfxPassword,
		string comment
static ReadOnlyCollection<Certificate^>^ Enroll (
		Guid requestUuid, 
		ReadOnlyCollection<CertificateRequest^>^ certificateRequests, 
		String^ pfxPassword, 
		String^ comment
public static ReadOnlyCollection<Certificate> Enroll (
		Guid requestUuid, 
		ReadOnlyCollection<CertificateRequest> certificateRequests, 
		String pfxPassword, 
		String comment
public static function Enroll (
		requestUuid : Guid, 
		certificateRequests : ReadOnlyCollection<CertificateRequest>, 
		pfxPassword : String, 
		comment : String
) : ReadOnlyCollection<Certificate>



A Guid object that identifies the FIM CM request for which to perform the enroll operation.


A collection of CertificateRequest objects that are required to perform the enroll operation.


A String object that contains a password to protect any Personal Information Exchange (PFX) results that are returned from the call.


A String object that contains a comment to be recorded in the event history for the enroll operation.

Return Value

A read-only collection of Certificate objects that resulted from the enrollment operation.


PFX format, also known as PKCS#12, is used to retrieve certificates generated on the server or external certificates that are obtained from enrollment. The Certificate object supports many formats of representing the certificate information including PKCS#7, PFX. This call requires the caller to perform the interaction with the smart card to write the returned certificate and possibly key data.

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.


Development Platforms

Windows 2008 x64 Edition

Target Platforms

Windows XP SP3, Windows Vista SP1+, Windows 7, Windows Server 2008, Windows Server 2008 R2

See Also