共用方式為


CSid::operator ==

Tests two security descriptor objects for equality.

bool operator==( 
   const CSid &lhs, 
   const CSid &rhs 
) throw(   );

Parameters

  • lhs
    The SID (security identifier) or CSid that appears on the left side of the == operator.

  • rhs
    The SID (security identifier) or CSid that appears on the right side of the == operator.

Return Value

true if the security descriptors are equal, otherwise false.

Requirements

Header: atlsecurity.h

See Also

Reference

CSid Class