BOOL IsValidSid(Sid) | |||
PSID Sid; |
The IsValidSid function validates an SID by verifying that the revision number is within a known range and that the number of sub-authorities is less than the maximum.
Sid
Pointer to the SID structure to validate.
The return value is TRUE if the structure of the SID is valid. Otherwise, the return value is FALSE. Use the GetLastError function to obtain extended error information.
CopySid, EqualSid, GetLengthSid, InitializeSid, GetSidIdentifierAuthority, GetSidLengthRequired, GetSidSubAuthority, GetSidSubAuthorityCount