Principal.Guid Property


Gets the GUID associated with this principal.

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

member Guid : Nullable<Guid> with get

Property Value

Type: System.Nullable<Guid>

The Nullable Guid associated with this principal or null if there is no GUID.

This property will always return null when the ContextType property is set to Machine.

.NET Framework
Available since 3.5

Principal Class
System.DirectoryServices.AccountManagement Namespace Overview

Return to top