Поделиться через


CAccessToken::GetType

Call this method to get the token type of the CAccessToken object.

bool GetType(
   TOKEN_TYPE* pType
) const throw(...);

Параметры

  • pType
    Address of the TOKEN_TYPE variable that, on success, receives the type of the token.

Возвращаемое значение

Returns true on success, false on failure.

Заметки

The TOKEN_TYPE enumeration type contains values that differentiate between a primary token and an impersonation token.

Требования

Header: atlsecurity.h

См. также

Основные понятия

CAccessToken Class

CAccessToken Members