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

Reference

CAccessToken Class

Other Resources

CAccessToken Members