Note
Access to this page requires authorization. You can try signing in or .
Access to this page requires authorization. You can try .
AUTHZ_SECURITY_ATTRIBUTE_V1 structure (authz.h)
The AUTHZ_SECURITY_ATTRIBUTE_V1 structure defines a security attribute that can be associated with an authorization context.
Syntax
typedef struct _AUTHZ_SECURITY_ATTRIBUTE_V1 {
PWSTR pName;
USHORT ValueType;
USHORT Reserved;
ULONG Flags;
ULONG ValueCount;
union {
PLONG64 pInt64;
PULONG64 pUint64;
PWSTR *ppString;
PAUTHZ_SECURITY_ATTRIBUTE_FQBN_VALUE pFqbn;
PAUTHZ_SECURITY_ATTRIBUTE_OCTET_STRING_VALUE pOctetString;
} Values;
} AUTHZ_SECURITY_ATTRIBUTE_V1, *PAUTHZ_SECURITY_ATTRIBUTE_V1;
Members
pName
A pointer to a name of a security attribute.
ValueType
The data type of the values pointed to by the Values member.
| Value | Meaning |
|---|---|
|
The Values member refers to a security attribute that is of INT64 type. |
|
The Values member refers to a security attribute that is of UINT64 type. |
|
The Values member refers to a security attribute that is of STRING type. |
|
The Values member refers to a security attribute that is of AUTHZ_SECURITY_ATTRIBUTE_TYPE_FQBN type. |
|
The Values member refers to a security attribute that is of AUTHZ_SECURITY_ATTRIBUTE_TYPE_SID type.
Windows Server 2008 R2 and Windows 7: This value type is not available. |
|
The Values member refers to a security attribute that is of AUTHZ_SECURITY_ATTRIBUTE_TYPE_BOOLEAN type.
Windows Server 2008 R2 and Windows 7: This value type is not available. |
|
The Values member refers to a security attribute that is of AUTHZ_SECURITY_ATTRIBUTE_TYPE_OCTET_STRING type. |
|
The Values member refers to a security attribute that is of AUTHZ_SECURITY_ATTRIBUTE_TYPE_OCTET_STRING type. |
Reserved
Reserved for future use.
Flags
A combination of one or more of the following values.
| Value | Meaning |
|---|---|
|
This security attribute is not inherited across processes. |
|
The value of the attribute is case sensitive. This flag is valid for values that contain string types. |
ValueCount
The number of values specified in the Values member.
Values
Values.pInt64
A pointer to one or more numeric attribute values.
Values.pUint64
A pointer to one or more numeric attribute values.
Values.ppString
A pointer to one or more string attribute values.
Values.pFqbn
A pointer to one or more AUTHZ_SECURITY_ATTRIBUTE_FQBN_VALUE structures.
Values.pOctetString
A pointer to one or more AUTHZ_SECURITY_ATTRIBUTE_OCTET_STRING_VALUE structures.
Requirements
| Requirement | Value |
|---|---|
| Minimum supported client | Windows 7 [desktop apps only] |
| Minimum supported server | Windows Server 2008 R2 [desktop apps only] |
| Header | authz.h |
See also
Feedback
Was this page helpful?
