Platform SDK: Access Control |
The TOKEN_TYPE enumeration type contains values that differentiate between a primary token and an impersonation token.
typedef enum tagTOKEN_TYPE { TokenPrimary = 1, TokenImpersonation } TOKEN_TYPE;
Enumerator Value | Meaning |
---|---|
TokenPrimary | Indicates a primary token. |
TokenImpersonation | Indicates an impersonation token. |
Windows NT/2000: Requires Windows NT 3.1 or later.
Header: Declared in Winnt.h; include Windows.h.
Access Control Overview, Access Control Enumeration Types, GetTokenInformation, TOKEN_CONTROL, TOKEN_DEFAULT_DACL, TOKEN_GROUPS, TOKEN_INFORMATION_CLASS, TOKEN_OWNER, TOKEN_PRIMARY_GROUP, TOKEN_PRIVILEGES, TOKEN_SOURCE, TOKEN_STATISTICS, TOKEN_USER