PDWORD GetSidSubAuthority(Sid, SubAuthority) | |||
PSID Sid; | |||
DWORD SubAuthority; |
The GetSidSubAuthority function returns the address of a sub-authority array element of an SID security identifier.
Sid
Pointer to the SID data structure whose sub-authority array element address the function will return.
SubAuthority
An index value that specifies the sub-authority array element whose address the function will return.
The function performs no validation tests on this value.
If the function is successful, the return value is the address of the specified SID sub-authority array element.
If the function fails, the return value is undefined. The function will fail if the specified SID is invalid, or if the SubAuthority index value is out of bounds.
CopySid, EqualSid, GetLengthSid, InitializeSid, IsValidSid, GetSidIdentifierAuthority, GetSidLengthRequired, GetSidSubAuthorityCount