Principal.Guid Property

Definition

Gets the GUID associated with this principal.

public:
 property Nullable<Guid> Guid { Nullable<Guid> get(); };
public Guid? Guid { get; }
public Guid? Guid { [System.Security.SecurityCritical] get; }
member this.Guid : Nullable<Guid>
[<get: System.Security.SecurityCritical>]
member this.Guid : Nullable<Guid>
Public ReadOnly Property Guid As Nullable(Of Guid)

Property Value

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

Attributes

Remarks

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

Applies to