EqualPrefixSid

  BOOL EqualPrefixSid(pSid1, pSid2)    
  PSID pSid1;    
  PSID pSid2;    

The EqualPrefixSid function tests two SID prefix values for equality. The SID structures are assumed to be valid.

Parameters

pSid1

Points to the first SID to compare.

pSid2

Points to the second SID to compare.

Return Value

The return value is TRUE if the two prefix values are equal, or FALSE if they are not.

Comments

An SID prefix is the entire SID except for the last sub-authority value.