Principal.Sid Property


The .NET API Reference documentation has a new home. Visit the .NET API Browser on 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 ReadOnly Property Sid As SecurityIdentifier

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

Principal Class
System.DirectoryServices.AccountManagement Namespace Overview

Return to top