CAccessToken::GetLogonSid
Call this method to get the Logon SID associated with the CAccessToken object.
bool GetLogonSid(
CSid* pSid
) const throw(...);
Parameters
- pSid
Pointer to a CSid Class object.
Return Value
Returns true on success, false on failure.
Remarks
In debug builds, an assertion error will occur if pSid is an invalid value.
Requirements
Header: atlsecurity.h