2.2.3.3 AUTHZR_CONTEXT_INFORMATION
The AUTHZR_CONTEXT_INFORMATION structure contains security information about a principal.
-
typedef struct _AUTHZR_CONTEXT_INFORMATION { USHORT ValueType; [switch_is(ValueType)] union AUTHZR_CONTEXT_INFORMATION_UNION { [case(0x1)] AUTHZR_TOKEN_USER* pTokenUser; [case(0x2, 0x3, 0xC)] AUTHZR_TOKEN_GROUPS* pTokenGroups; [case(0xD, 0xE)] AUTHZR_SECURITY_ATTRIBUTES_INFORMATION* pTokenClaims; } ContextInfoUnion; } AUTHZR_CONTEXT_INFORMATION;
ValueType: Identifies the type of the ContextInfoUnion member.
-
Value
Meaning
0x0001 (user)
ContextInfoUnion contains an AUTHZR_TOKEN_USER structure, as specified in section 2.2.3.10.
0x0002 (groups)
0x0003 (restricted groups)
0x000C (device groups)
ContextInfoUnion contains an AUTHZR_TOKEN_GROUPS structure, as specified in section 2.2.3.9.
0x000D (user claim)
0x000E (device claim)
ContextInfoUnion contains an AUTHZR_SECURITY_ATTRIBUTES_INFORMATION structure, as specified in section 2.2.3.7.
ContextInfoUnion: A pointer to an AUTHZR_TOKEN_USER, AUTHZR_TOKEN_GROUPS, or AUTHZR_SECURITY_ATTRIBUTES_INFORMATION structure, depending on the value of ValueType.