SecurityIdentifier::IsEqualDomainSid Method (SecurityIdentifier^)

 

Returns a value that indicates whether the security identifier (SID) represented by this SecurityIdentifier object is from the same domain as the specified SID.

Namespace:   System.Security.Principal
Assembly:  mscorlib (in mscorlib.dll)

public:
bool IsEqualDomainSid(
	SecurityIdentifier^ sid
)

Parameters

sid
Type: System.Security.Principal::SecurityIdentifier^

The SID to compare with this SecurityIdentifier object.

Return Value

Type: System::Boolean

true 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
Return to top
Show: