SecurityIdentifier.AccountDomainSid Property

 

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 ArgumentNullException.

Namespace:   System.Security.Principal
Assembly:  mscorlib (in mscorlib.dll)

member AccountDomainSid : SecurityIdentifier with get

Property Value

Type: System.Security.Principal.SecurityIdentifier

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

.NET Framework
Available since 2.0
Return to top
Show: