Поделиться через


CAccessToken::GetLogonSessionId

Call this method to get the Logon Session ID associated with the CAccessToken object.

bool GetLogonSessionId( 
   LUID* pluid 
) const throw(...);

Parameters

  • pluid
    Pointer to a LUID which will receive the Logon Session ID.

Return Value

Returns true on success, false on failure.

Remarks

In debug builds, an assertion error will occur if pluid is an invalid value.

Requirements

Header: atlsecurity.h

See Also

Reference

CAccessToken Class