SID_AND_ATTRIBUTES

typedef struct _SID_AND_ATTRIBUTES { /* saa */

PSID Sid;

DWORD Attributes;

} SID_AND_ATTRIBUTES ;

The SID_AND_ATTRIBUTES data structure represents a SID and its attributes.

It is often desirable to associate a SID and its attributes. For example, a SID_AND_ATTRIBUTE data structure can represent the dynamic state of a group. Group SIDs have attributes indicating whether the group is mandatory and whether the group is currently enabled.

Members

Sid

Pointer to a SID data structure.

Attributes

Contains up to 32 bit flags. The data type of this field is quite general, and is intended to be typecast. In other words, SID_AND_ATTRIBUTES does not define meanings for this field's bit flags.