SecurityIdentifier.IsEqualDomainSid(SecurityIdentifier) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns a value that indicates whether the security identifier (SID) represented by this SecurityIdentifier object is from the same domain as the specified SID.
public:
bool IsEqualDomainSid(System::Security::Principal::SecurityIdentifier ^ sid);
public bool IsEqualDomainSid (System.Security.Principal.SecurityIdentifier sid);
member this.IsEqualDomainSid : System.Security.Principal.SecurityIdentifier -> bool
Public Function IsEqualDomainSid (sid As SecurityIdentifier) As Boolean
Parameters
The SID to compare with this SecurityIdentifier object.
Returns
true
if the SID represented by this SecurityIdentifier object is in the same domain as the sid
SID; otherwise, false
.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.