AccountDomainSid Property
Collapse the table of content
Expand the table of content

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)

public SecurityIdentifier AccountDomainSid { 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.

Universal Windows Platform
Available since 10
.NET Framework
Available since 2.0
Return to top
Show:
© 2016 Microsoft