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


CAccessToken::GetLogonSid

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

bool GetLogonSid( 
   CSid* pSid 
) const throw(...);

Parameters

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

See Also

Reference

CAccessToken Class