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
AUTHZ_SECURITY_ATTRIBUTE_TYPE_INT64
0x0001
The Values member refers to a security attribute that is of INT64 type.
AUTHZ_SECURITY_ATTRIBUTE_TYPE_UINT64
0x0002
The Values member refers to a security attribute that is of UINT64 type.
AUTHZ_SECURITY_ATTRIBUTE_TYPE_STRING
0x0003
The Values member refers to a security attribute that is of STRING type.
AUTHZ_SECURITY_ATTRIBUTE_TYPE_FQBN
0x0004
The Values member refers to a security attribute that is of AUTHZ_SECURITY_ATTRIBUTE_TYPE_FQBN type.
AUTHZ_SECURITY_ATTRIBUTE_TYPE_SID
0x0005
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.

AUTHZ_SECURITY_ATTRIBUTE_TYPE_BOOLEAN
0x0006
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.

AUTHZ_SECURITY_ATTRIBUTE_TYPE_OCTET_STRING
0x0010
The Values member refers to a security attribute that is of AUTHZ_SECURITY_ATTRIBUTE_TYPE_OCTET_STRING type.
AUTHZ_SECURITY_ATTRIBUTE_TYPE_OCTET_STRING
0x0010
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
AUTHZ_SECURITY_ATTRIBUTE_NON_INHERITABLE
0x0001
This security attribute is not inherited across processes.
AUTHZ_SECURITY_ATTRIBUTE_VALUE_CASE_SENSITIVE
0x0002
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

AUTHZ_SECURITY_ATTRIBUTES_INFORMATION

AuthzModifySecurityAttributes