CAccessToken::GetImpersonationLevel

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

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

Parameters

Return Value

Returns true on success, false on failure.

Requirements

Header: atlsecurity.h

See Also

Concepts

CAccessToken Class

CAccessToken Members