Principal::Sid Property

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Gets the Security ID (SID) of the principal.

Namespace:   System.DirectoryServices.AccountManagement
Assembly:  System.DirectoryServices.AccountManagement (in System.DirectoryServices.AccountManagement.dll)

public:
property SecurityIdentifier^ Sid {
	[SecurityCriticalAttribute]
	SecurityIdentifier^ get();
}

Property Value

Type: System.Security.Principal::SecurityIdentifier^

The SecurityIdentifier for this principal or null if there is no SID.

.NET Framework
Available since 3.5

System.DirectoryServices.AccountManagement
Principal Class
System.DirectoryServices.AccountManagement Namespace Overview

Return to top
Show: