PUCHAR GetSidSubAuthorityCount(Sid) | |||
PSID Sid; |
The GetSidSubAuthorityCount function returns the address of the sub-authority count field of an SID security identifier.
Sid
Pointer to the SID data structure whose count field address the function will return.
If the function is successful, the return value is the address of the sub-authority count field of the specified SID.
If the SID passed to the function is invalid, the return value is undefined.
CopySid, EqualSid, GetLengthSid, InitializeSid, IsValidSid, GetSidIdentifierAuthority, GetSidLengthRequired, GetSidSubAuthority