IMtsSecurityEvents::OnAuthenticate

Associates a user such as a base client with an activity for auditing purposes.

HRESULT OnAuthenticate(
LONGLONG        perfCount
REFGUID            guidActivity
ULONG            cbByteOrig
BYTE *                pSidOriginalUser
ULONG            cbByteCur
BYTE *                pSidCurrentUser
BOOL                bCurrentUserInpersonatingInProc);

Parameters

perfCount
The current value of the high-resolution performance counter, if one exists.

guidActivity
A string indicating the GUID associated with the activity which created the object.

cbByteOrig
The size (in bytes) of the pSidOriginalUser.

pSidOriginalUser
The unique identifier of the original user (base client).

cbByteCur
The size (in bytes) of the pSidCurrentUser.

bCurrentUserInPersonatingInProc
Boolean indicating if the current user is using impersonation for identification when making calls.