_TOKEN_TYPE Enumeration

The TOKEN_TYPE enumeration 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

   
Windows version Windows XP [desktop apps only] Windows Server 2003 [desktop apps only]
Header winnt.h (include Windows.h)

See Also

Access Control Overview

Authorization Enumerations

GetTokenInformation

TOKEN_CONTROL

TOKEN_DEFAULT_DACL

TOKEN_GROUPS

TOKEN_INFORMATION_CLASS

TOKEN_OWNER

TOKEN_PRIMARY_GROUP

TOKEN_PRIVILEGES

TOKEN_SOURCE

TOKEN_STATISTICS

TOKEN_USER