Export (0) Print
Expand All
2 out of 2 rated this helpful - Rate this topic

TOKEN_TYPE enumeration

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

Syntax


typedef enum tagTOKEN_TYPE { 
  TokenPrimary        = 1,
  TokenImpersonation
} TOKEN_TYPE, *PTOKEN_TYPE;

Constants

TokenPrimary

Indicates a primary token.

TokenImpersonation

Indicates an impersonation token.

Requirements

Minimum supported client

Windows XP [desktop apps only]

Minimum supported server

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

 

 

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.