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
Samarbeid med oss på GitHub
Du finner kilden for dette innholdet på GitHub. Der du også kan opprette og se gjennom problemer og pull-forespørsler. Hvis du vil ha mer informasjon, kan du se vår bidragsyterveiledning.