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 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
AuthzContextInfoUserSidValue: 1 Retrieves a TOKEN_USER structure that contains a user security identifier (SID) and its attribute. |
AuthzContextInfoGroupsSidsRetrieves a TOKEN_GROUPS structure that contains the group SIDs to which the user belongs and their attributes. |
AuthzContextInfoRestrictedSidsRetrieves a TOKEN_GROUPS structure that contains the restricted group SIDs in the context and their attributes. |
AuthzContextInfoPrivilegesRetrieves a TOKEN_PRIVILEGES structure that contains the privileges held by the user. |
AuthzContextInfoExpirationTimeRetrieves the expiration time set on the context. |
AuthzContextInfoServerContextThis constant is reserved. Do not use it. |
AuthzContextInfoIdentifierRetrieves an LUID structures used by the resource manager to identify the context. |
AuthzContextInfoSourceThis constant is reserved. Do not use it. |
AuthzContextInfoAllThis constant is reserved. Do not use it. |
AuthzContextInfoAuthenticationIdThis constant is reserved. Do not use it. |
AuthzContextInfoSecurityAttributesRetrieves 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. |
AuthzContextInfoDeviceSidsRetrieves 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. |
AuthzContextInfoUserClaimsRetrieves 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. |
AuthzContextInfoDeviceClaimsRetrieves 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. |
AuthzContextInfoAppContainerSidRetrieves 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. |
AuthzContextInfoCapabilitySidsRetrieves 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