SecurityIdentifier.AccountDomainSid Property

Definition

Returns the account domain security identifier (SID) portion from the SID represented by the SecurityIdentifier object if the SID represents a Windows account SID. If the SID does not represent a Windows account SID, this property returns null.

public:
 property System::Security::Principal::SecurityIdentifier ^ AccountDomainSid { System::Security::Principal::SecurityIdentifier ^ get(); };
public System.Security.Principal.SecurityIdentifier? AccountDomainSid { get; }
public System.Security.Principal.SecurityIdentifier AccountDomainSid { get; }
member this.AccountDomainSid : System.Security.Principal.SecurityIdentifier
Public ReadOnly Property AccountDomainSid As SecurityIdentifier

Property Value

The account domain SID portion from the SID represented by the SecurityIdentifier object if the SID represents a Windows account SID; otherwise, it returns null.

Applies to