Principal.Guid Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.