CAccessToken::GetImpersonationLevel

 

Call this method to get the impersonation level from the access token.

Syntax

      bool GetImpersonationLevel(
   SECURITY_IMPERSONATION_LEVEL* pImpersonationLevel
) const throw(...);

Parameters

Return Value

Returns true on success, false on failure.

Requirements

Header: atlsecurity.h

See Also

CAccessToken Class