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
Samarbejd med os på GitHub
Kilden til dette indhold kan findes på GitHub, hvor du også kan oprette og gennemse problemer og pullanmodninger. Du kan få flere oplysninger i vores vejledning til bidragydere.