Export (0) Print
Expand All
ACE
ACL
SID
Expand Minimize
0 out of 1 rated this helpful - Rate this topic

SID_AND_ATTRIBUTES structure

The SID_AND_ATTRIBUTES structure represents a security identifier (SID) and its attributes. SIDs are used to uniquely identify users or groups.

Syntax


typedef struct _SID_AND_ATTRIBUTES {
  PSID  Sid;
  DWORD Attributes;
} SID_AND_ATTRIBUTES, *PSID_AND_ATTRIBUTES;

Members

Sid

A pointer to a SID structure.

Attributes

Specifies attributes of the SID. This value contains up to 32 one-bit flags. Its meaning depends on the definition and use of the SID.

Remarks

A group is represented by a SID. SIDs have attributes that indicate whether they are currently enabled, disabled, or mandatory. SIDs also indicate how these attributes are used. A SID_AND_ATTRIBUTES structure can represent a SID whose attributes change frequently. For example, SID_AND_ATTRIBUTES is used to represent groups in the TOKEN_GROUPS structure.

Requirements

Minimum supported client

Windows XP [desktop apps only]

Minimum supported server

Windows Server 2003 [desktop apps only]

Header

Winnt.h (include Windows.h)

See also

SID
TOKEN_GROUPS
TOKEN_USER

 

 

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.