Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
The TOKEN_TYPE enumeration contains values that differentiate between a primary token and an impersonation token.
Syntax
typedef enum _TOKEN_TYPE {
TokenPrimary = 1,
TokenImpersonation
} TOKEN_TYPE;
Constants
TokenPrimaryValue: 1 Indicates a primary token. |
TokenImpersonationIndicates an impersonation token. |
Requirements
| Requirement | Value |
|---|---|
| Minimum supported client | Windows XP [desktop apps only] |
| Minimum supported server | Windows Server 2003 [desktop apps only] |
| Header | winnt.h (include Windows.h) |