BOOL EqualSid(Sid1, Sid2) | |||
PSID Sid1; | |||
PSID Sid2; |
The EqualSid function tests two SID security identifier values for equality. Two SIDs must match exactly to be considered equally.
Sid1
Pointer to a valid SID to compare. valid.
Sid2
Pointer to a valid SID to compare.
If the value of Sid1 is equal to Sid2, the function return value is TRUE.
If the SIDs are not equal, the function return value is FALSE. Call GetLastError for more detailed error information.
If either SID is invalid, the function return value is undefined.
CopySid, GetLengthSid, InitializeSid, IsValidSid, GetSidIdentifierAuthority, GetSidLengthRequired, GetSidSubAuthority, GetSidSubAuthorityCount