AUTHZ_CONTEXT_INFORMATION_CLASS enumeration (authz.h)
The AUTHZ_CONTEXT_INFORMATION_CLASS enumeration specifies the type of information to be retrieved from an existing AuthzClientContext. This enumeration is used by the AuthzGetInformationFromContext function.
Syntax
typedef enum _AUTHZ_CONTEXT_INFORMATION_CLASS {
AuthzContextInfoUserSid = 1,
AuthzContextInfoGroupsSids,
AuthzContextInfoRestrictedSids,
AuthzContextInfoPrivileges,
AuthzContextInfoExpirationTime,
AuthzContextInfoServerContext,
AuthzContextInfoIdentifier,
AuthzContextInfoSource,
AuthzContextInfoAll,
AuthzContextInfoAuthenticationId,
AuthzContextInfoSecurityAttributes,
AuthzContextInfoDeviceSids,
AuthzContextInfoUserClaims,
AuthzContextInfoDeviceClaims,
AuthzContextInfoAppContainerSid,
AuthzContextInfoCapabilitySids
} AUTHZ_CONTEXT_INFORMATION_CLASS;
Constants
AuthzContextInfoUserSid Value: 1 Retrieves a TOKEN_USER structure that contains a user security identifier (SID) and its attribute. |
AuthzContextInfoGroupsSids Retrieves a TOKEN_GROUPS structure that contains the group SIDs to which the user belongs and their attributes. |
AuthzContextInfoRestrictedSids Retrieves a TOKEN_GROUPS structure that contains the restricted group SIDs in the context and their attributes. |
AuthzContextInfoPrivileges Retrieves a TOKEN_PRIVILEGES structure that contains the privileges held by the user. |
AuthzContextInfoExpirationTime Retrieves the expiration time set on the context. |
AuthzContextInfoServerContext This constant is reserved. Do not use it. |
AuthzContextInfoIdentifier Retrieves an LUID structures used by the resource manager to identify the context. |
AuthzContextInfoSource This constant is reserved. Do not use it. |
AuthzContextInfoAll This constant is reserved. Do not use it. |
AuthzContextInfoAuthenticationId This constant is reserved. Do not use it. |
AuthzContextInfoSecurityAttributes Retrieves an AUTHZ_SECURITY_ATTRIBUTES_INFORMATION structure that contains security attributes. Windows Server 2008, Windows Vista, Windows Server 2003 and Windows XP: This value is not supported. |
AuthzContextInfoDeviceSids Retrieves a TOKEN_GROUPS structure that contains device SIDs and their attributes. Windows Server 2008 R2, Windows 7, Windows Server 2008, Windows Vista, Windows Server 2003 and Windows XP: This value is not supported. |
AuthzContextInfoUserClaims Retrieves a AUTHZ_SECURITY_ATTRIBUTES_INFORMATION structure that contains user claims. Windows Server 2008 R2, Windows 7, Windows Server 2008, Windows Vista, Windows Server 2003 and Windows XP: This value is not supported. |
AuthzContextInfoDeviceClaims Retrieves a AUTHZ_SECURITY_ATTRIBUTES_INFORMATION structure that contains device claims. Windows Server 2008 R2, Windows 7, Windows Server 2008, Windows Vista, Windows Server 2003 and Windows XP: This value is not supported. |
AuthzContextInfoAppContainerSid Retrieves a TOKEN_APPCONTAINER_INFORMATION structure that contains the app container SID. Windows Server 2008 R2, Windows 7, Windows Server 2008, Windows Vista, Windows Server 2003 and Windows XP: This value is not supported. |
AuthzContextInfoCapabilitySids Retrieves a TOKEN_GROUPS structure that contains capability SIDs. Windows Server 2008 R2, Windows 7, Windows Server 2008, Windows Vista, Windows Server 2003 and Windows XP: This value is not supported. |
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows XP [desktop apps only] |
Minimum supported server | Windows Server 2003 [desktop apps only] |
Header | authz.h |
Redistributable | Windows Server 2003 Administration Tools Pack on Windows XP |
See also
AuthzGetInformationFromContext