DWORD GetSidLengthRequired(SubAuthorityCount) | |||
UCHAR SubAuthorityCount; |
The GetSidLengthRequired function returns the length, in bytes, required to store a SID with a specified number of sub-authorities.
SubAuthorityCount
Specifies the number of sub-authorities to be stored in the SID.
The return value is the length in bytes required to store the SID. This function cannot fail.
CopySid, EqualSid, GetLengthSid, InitializeSid, IsValidSid, GetSidIdentifierAuthority, GetSidSubAuthority, GetSidSubAuthorityCount