TOKEN_TYPE enumeration (winnt.h)
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
TokenPrimary Value: 1 Indicates a primary token. |
TokenImpersonation Indicates 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) |
See also
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for