Click or drag to resize

WindowsApiTOKEN_INFORMATION_CLASS Enumeration

Win32 TOKEN_INFORMATION_CLASS enumeration.

Namespace: GSF.Interop
Assembly: GSF.Core (in GSF.Core.dll) Version: 2.4.181-beta
Syntax
public enum TOKEN_INFORMATION_CLASS
View Source
Members
Member nameValueDescription
TokenUser1 The buffer receives a TOKEN_USER structure that contains the user account of the token.
TokenGroups2 The buffer receives a TOKEN_GROUPS structure that contains the group accounts associated with the token.
TokenPrivileges3 The buffer receives a TOKEN_PRIVILEGES structure that contains the privileges of the token.
TokenOwner4 The buffer receives a TOKEN_OWNER structure that contains the default owner security identifier (SID) for newly created objects.
TokenPrimaryGroup5 The buffer receives a TOKEN_PRIMARY_GROUP structure that contains the default primary group SID for newly created objects.
TokenDefaultDacl6 The buffer receives a TOKEN_DEFAULT_DACL structure that contains the default DACL for newly created objects.
TokenSource7 The buffer receives a TOKEN_SOURCE structure that contains the source of the token. TOKEN_QUERY_SOURCE access is needed to retrieve this information.
TokenType8 The buffer receives a TOKEN_TYPE value that indicates whether the token is a primary or impersonation token.
TokenImpersonationLevel9 The buffer receives a SECURITY_IMPERSONATION_LEVEL value that indicates the impersonation level of the token. If the access token is not an impersonation token, the function fails.
TokenStatistics10 The buffer receives a TOKEN_STATISTICS structure that contains various token statistics.
TokenRestrictedSids11 The buffer receives a TOKEN_GROUPS structure that contains the list of restricting SIDs in a restricted token.
TokenSessionId12 The buffer receives a DWORD value that indicates the Terminal Services session identifier that is associated with the token.
TokenGroupsAndPrivileges13 The buffer receives a TOKEN_GROUPS_AND_PRIVILEGES structure that contains the user SID, the group accounts, the restricted SIDs, and the authentication ID associated with the token.
TokenSessionReference14 Reserved.
TokenSandBoxInert15 The buffer receives a DWORD value that is nonzero if the token includes the SANDBOX_INERT flag.
TokenAuditPolicy16 Reserved.
TokenOrigin17 The buffer receives a TOKEN_ORIGIN value.
TokenElevationType18 The buffer receives a TOKEN_ELEVATION_TYPE value that specifies the elevation level of the token.
TokenLinkedToken19 The buffer receives a TOKEN_LINKED_TOKEN structure that contains a handle to another token that is linked to this token.
TokenElevation20 The buffer receives a TOKEN_ELEVATION structure that specifies whether the token is elevated.
TokenHasRestrictions21 The buffer receives a DWORD value that is nonzero if the token has ever been filtered.
TokenAccessInformation22 The buffer receives a TOKEN_ACCESS_INFORMATION structure that specifies security information contained in the token.
TokenVirtualizationAllowed23 The buffer receives a DWORD value that is nonzero if virtualization is allowed for the token.
TokenVirtualizationEnabled24 The buffer receives a DWORD value that is nonzero if virtualization is enabled for the token.
TokenIntegrityLevel25 The buffer receives a TOKEN_MANDATORY_LABEL structure that specifies the token's integrity level.
TokenUIAccess26 The buffer receives a DWORD value that is nonzero if the token has the UIAccess flag set.
TokenMandatoryPolicy27 The buffer receives a TOKEN_MANDATORY_POLICY structure that specifies the token's mandatory integrity policy.
TokenLogonSid28 The buffer receives the token's logon security identifier (SID).
MaxTokenInfoClass29 The maximum value for this enumeration
See Also