System.Security.Principal.SecurityIdentifier.IsEqualDomainSid Method

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

Syntax

public bool IsEqualDomainSid (SecurityIdentifier sid)

Parameters

sid
The SID to compare with this System.Security.Principal.SecurityIdentifier object.

Returns

true if the SID represented by this System.Security.Principal.SecurityIdentifier object is in the same domain as the sid SID; otherwise, false.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: System.Security.Principal
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 2.0.0.0, 4.0.0.0
Since: .NET 2.0