2.2.3.2.2 PACKED_SIDs Structure

The PACKED_SIDs structure encapsulates a set of SIDs that are identical except for the value of the final subauthority, which is called the relative identifier (RID). The identical portion of the SIDs is included in the DomainSid field, and each RID is included separately. The PACKED_SIDs structure has a variable length.


0


1


2


3


4


5


6


7


8


9

1
0


1


2


3


4


5


6


7


8


9

2
0


1


2


3


4


5


6


7


8


9

3
0


1

DomainSid (variable)

...

RidCount

RID (variable)

...

DomainSid (variable): A SID structure of variable size that defines the identical portion of the SIDs encoded in this structure. For details on the SIDs structure, see [MS-DTYP] section 2.4.2.

RidCount (4 bytes): A 4-byte, little-endian, unsigned integer that defines the number of RID fields in this structure. This field MUST NOT be zero.

RID (variable): A sequence of 4-byte, little-endian, unsigned integers that define the RIDs for the SIDs encoded in this structure.