TOKEN_TYPE enumeration (ntifs.h)

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

Syntax

typedef enum _TOKEN_TYPE {
  TokenPrimary,
  TokenImpersonation
} TOKEN_TYPE;

Constants

 
TokenPrimary
Indicates a primary token.
TokenImpersonation
Indicates an impersonation token.

Requirements

Requirement Value
Header ntifs.h (include Ntifs.h)

See also

SeQueryInformationToken

TOKEN_INFORMATION_CLASS

TOKEN_STATISTICS

ZwQueryInformationToken

ZwSetInformationToken