CAccessToken::GetImpersonationLevel
Call this method to get the impersonation level from the access token.
bool GetImpersonationLevel(
SECURITY_IMPERSONATION_LEVEL* pImpersonationLevel
) const throw(...);
Parameters
- pImpersonationLevel
Pointer to a SECURITY_IMPERSONATION_LEVEL enumeration type which will receive the impersonation level information.
Return Value
Returns true on success, false on failure.
Requirements
Header: atlsecurity.h