EqualSid function (securitybaseapi.h)
The EqualSid function tests two security identifier (SID) values for equality. Two SIDs must match exactly to be considered equal.
BOOL EqualSid( PSID pSid1, PSID pSid2 );
A pointer to the first SID structure to compare. This structure is assumed to be valid.
A pointer to the second SID structure to compare. This structure is assumed to be valid.
If the SID structures are equal, the return value is nonzero.
If either SID structure is not valid, the return value is undefined.
|Minimum supported client||Windows XP [desktop apps only]|
|Minimum supported server||Windows Server 2003 [desktop apps only]|
|Header||securitybaseapi.h (include Windows.h)|