Namespace: Microsoft.Clm.Provision
Assembly: Microsoft.Clm.Provision (in microsoft.clm.provision.dll)
Usage
Visual Basic |
---|
Dim isSuccess As Boolean Dim requestUuid As Guid Dim smartcardUuid As Guid Dim profileUuid As Guid Dim comment As String ExecuteOperations.WriteEvent(isSuccess, requestUuid, smartcardUuid, profileUuid, comment) |
Syntax
Visual Basic |
---|
Public Shared Sub WriteEvent ( _ isSuccess As Boolean, _ requestUuid As Guid, _ smartcardUuid As Guid, _ profileUuid As Guid, _ comment As String _ ) |
C# |
---|
public static void WriteEvent ( bool isSuccess, Guid requestUuid, Guid smartcardUuid, Guid profileUuid, string comment ) |
C++ |
---|
public: static void WriteEvent ( bool isSuccess, Guid requestUuid, Guid smartcardUuid, Guid profileUuid, String^ comment ) |
J# |
---|
public static void WriteEvent ( boolean isSuccess, Guid requestUuid, Guid smartcardUuid, Guid profileUuid, String comment ) |
JScript |
---|
public static function WriteEvent ( isSuccess : boolean, requestUuid : Guid, smartcardUuid : Guid, profileUuid : Guid, comment : String ) |
Parameters
- isSuccess
-
A Boolean value that indicates if this event entry is for a success operation or a failure operation.
- requestUuid
-
A Guid object that identifies the FIM CM request for which to write the event information. Specify System.Guid.Empty when this parameter is not required.
- smartcardUuid
-
A Guid object that identifies the smart card for which to write the event information. Specify System.Guid.Empty when this parameter is not required.
- profileUuid
-
A Guid object that identifies the profile for which to write the event information. Specify System.Guid.Empty when this parameter is not required.
- comment
-
A String object that contains a comment to be recorded in the event history for the audit event.
Remarks
This method provides for insertion of custom data into the history for a FIM CM request, a smart card, or a profile. The caller must provide at least one of the FIM CM request, smart card, or profile Guid objects. If the caller provides more than one of the FIM CM request, smart card, or profile Guid objects, they must all be related. For example, if both a profile Guid and a FIM CM request Guid are provided, the profile must be associated with the FIM CM request.