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
Samarbeta med oss på GitHub
Källan för det här innehållet finns på GitHub, där du även kan skapa och granska ärenden och pull-begäranden. Se vår deltagarguide för mer information.