Bewerken

Delen via


SecurityIdentifier.IsEqualDomainSid(SecurityIdentifier) Method

Definition

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

sid
SecurityIdentifier

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