Click or drag to resize
Xcalibur Systems LLC Logo

TokenInformationClass Enumeration

The enumeration contains values that specify the type of information being assigned to or retrieved from an access token.

TOKEN_INFORMATION_CLASS enumeration


Namespace: Xcalibur.NativeMethods.V2.Security
Assembly: Xcalibur.NativeMethods.V2 (in Xcalibur.NativeMethods.V2.dll) Version: 1.0.1.0
Syntax
[SerializableAttribute]
public enum TokenInformationClass
Members
Member nameValueDescription
TokenUser1 The buffer receives a 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. access is needed to retrieve this information.
TokenType8 The buffer receives a value that indicates whether the token is a primary or impersonation token.
TokenImpersonationLevel9 The buffer receives a 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. If the token is associated with the terminal server client session, the session identifier is nonzero.
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 token linked tokenThe 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 a TOKEN_GROUPS structure that specifies the token's logon SID.
TokenIsAppContainer29 The buffer receives a DWORD value that is nonzero if the token is an app container token. Any callers who check the TokenIsAppContainer and have it return 0 should also verify that the caller token is not an identify level impersonation token.
TokenCapabilities30 The buffer receives a TOKEN_GROUPS structure that contains the capabilities associated with the token.
TokenAppContainerSid31 The buffer receives a TOKEN_APPCONTAINER_INFORMATION structure that contains the AppContainerSid associated with the token. If the token is not associated with an app container, the TokenAppContainer member of the TOKEN_APPCONTAINER_INFORMATION structure points to NULL.
TokenAppContainerNumber32 The buffer receives a DWORD value that includes the app container number for the token. For tokens that are not app container tokens, this value is zero.
TokenUserClaimAttributes33 The buffer receives a CLAIM_SECURITY_ATTRIBUTES_INFORMATION structure that contains the user claims associated with the token.
TokenDeviceClaimAttributes34 The buffer receives a CLAIM_SECURITY_ATTRIBUTES_INFORMATION structure that contains the device claims associated with the token.
TokenRestrictedUserClaimAttributes35 This value is reserved.
TokenRestrictedDeviceClaimAttributes36 This value is reserved.
TokenDeviceGroups37 The buffer receives a TOKEN_GROUPS structure that contains the device groups that are associated with the token.
TokenRestrictedDeviceGroups38 The buffer receives a TOKEN_GROUPS structure that contains the restricted device groups that are associated with the token.
TokenSecurityAttributes39 This value is reserved.
TokenIsRestricted40 This value is reserved.
MaxTokenInfoClass41 The maximum value for this enumeration.
See Also

Reference

Xcalibur.NativeMethods.V2.Security Namespace
TokenInformationClass