This topic has not yet been rated - Rate this topic

AUTHZ_SECURITY_ATTRIBUTE_V1 structure

Applies to: desktop apps only

The AUTHZ_SECURITY_ATTRIBUTE_V1 structure specifies one or more security attribute and value pairs.

Syntax

typedef struct _AUTHZ_SECURITY_ATTRIBUTE_V1 {
  PWSTR  pName;
  USHORT ValueType;
  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 one or more names of attributes. The number of strings pointed to by this member must match the number of values in the Values member.

ValueType

The data type of the values pointed to by the Values member.

Flags

A combination of one or more of the following values.

ValueMeaning
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 attribute and value pairs pointed to by the Values member.

Values
pInt64

A pointer to one or more numeric attribute values.

pUint64

A pointer to one or more numeric attribute values.

ppString

A pointer to one or more string attribute values.

pFqbn

A pointer to one or more AUTHZ_SECURITY_ATTRIBUTE_FQBN_VALUE structures.

pOctetString

A pointer to one or more AUTHZ_SECURITY_ATTRIBUTE_OCTET_STRING_VALUE structures.

Requirements

Minimum supported client

Windows 7

Minimum supported server

Windows Server 2008 R2

Header

Authz.h

See also

AuthzModifySecurityAttributes
AUTHZ_SECURITY_ATTRUBUTES_INFORMATION

 

 

Send comments about this topic to Microsoft

Build date: 3/7/2012

Did you find this helpful?
(1500 characters remaining)
Community Content Add
Annotations FAQ