SecurityIdentifier::IsEqualDomainSid Method (SecurityIdentifier^)
.NET Framework (current version)
Returns a value that indicates whether the security identifier (SID) represented by this SecurityIdentifier object is from the same domain as the specified SID.
Assembly: mscorlib (in mscorlib.dll)
Parameters
- sid
-
Type:
System.Security.Principal::SecurityIdentifier^
The SID to compare with this SecurityIdentifier object.
Return Value
Type: System::Booleantrue if the SID represented by this SecurityIdentifier object is in the same domain as the sid SID; otherwise, false.
.NET Framework
Available since 2.0
Available since 2.0
Show: