Partager via


CSid::EqualPrefix

Tests SID (security identifier) prefixes for equality.

bool EqualPrefix( 
   const SID & rhs  
) const throw(); 
bool EqualPrefix( 
   const CSid & rhs  
) const throw();

Parameters

  • rhs
    The SID (security identifier) structure or CSid object to compare.

Return Value

Returns true on success, false on failure.

Remarks

See EqualPrefixSid in the Windows SDK for more details.

Requirements

Header: atlsecurity.h

See Also

Reference

CSid Class