PISID - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
// ntifs.h

typedef struct _SID {
  UCHAR                    Revision;
  UCHAR                    SubAuthorityCount;
  SID_IDENTIFIER_AUTHORITY IdentifierAuthority;
#if ...
  ULONG                    *SubAuthority[];
#else
  ULONG                    SubAuthority[ANYSIZE_ARRAY];
#endif
} SID, *PISID;

View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (ns-ntifs-_sid)

SID structure

Description

The security identifier (SID) structure is a variable-length structure used to uniquely identify users or groups.

Drivers must not modify the SID structure directly. To create and manipulate a security identifier, use the support routines listed in the See Also section.

Members

Revision

The revision level assigned to the SID.

SubAuthorityCount

Number of subauthorities in the SID.

IdentifierAuthority

A SID_IDENTIFIER_AUTHORITY structure that represents the top-level authority of the SID.

SubAuthority[*]

The subauthority of the SID.

SubAuthority[ANYSIZE_ARRAY]

The subauthority of the SID.

See also

RtlCopySid

RtlEqualPrefixSid

RtlEqualSid

RtlGetOwnerSecurityDescriptor

RtlInitializeSid

RtlLengthSid

RtlSetOwnerSecurityDescriptor

RtlSubAuthoritySid

RtlValidSid

SID_AND_ATTRIBUTES

SID_IDENTIFIER_AUTHORITY