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.
- sid
- The SID to compare with this System.Security.Principal.SecurityIdentifier object.
true if the SID represented by this System.Security.Principal.SecurityIdentifier object is in the same domain as the sid SID; otherwise, false.