CAccessToken::GetImpersonationLevel
Call this method to get the impersonation level from the access token.
bool GetImpersonationLevel(
SECURITY_IMPERSONATION_LEVEL* pImpersonationLevel
) const throw(...);
Параметры
- pImpersonationLevel
Pointer to a SECURITY_IMPERSONATION_LEVEL enumeration type which will receive the impersonation level information.
Возвращаемое значение
Returns true on success, false on failure.
Требования
Header: atlsecurity.h