Share via


ExecuteOperations.WriteEvent Method

Insert an audit event for the specified smart card, profile or FIM CM request.

Namespace: Microsoft.Clm.Provision
Assembly: Microsoft.Clm.Provision (in Microsoft.Clm.Provision.dll)

Usage

'Usage
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

'Declaration
Public Shared Sub WriteEvent ( _
    isSuccess As Boolean, _
    requestUuid As Guid, _
    smartcardUuid As Guid, _
    profileUuid As Guid, _
    comment As String _
)
public static void WriteEvent (
    bool isSuccess,
    Guid requestUuid,
    Guid smartcardUuid,
    Guid profileUuid,
    string comment
)
public:
static void WriteEvent (
    bool isSuccess, 
    Guid requestUuid, 
    Guid smartcardUuid, 
    Guid profileUuid, 
    String^ comment
)
public static void WriteEvent (
    boolean isSuccess, 
    Guid requestUuid, 
    Guid smartcardUuid, 
    Guid profileUuid, 
    String comment
)
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.

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.

Platforms

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

Reference

ExecuteOperations Class
ExecuteOperations Members
Microsoft.Clm.Provision Namespace