संपादित करें

इसके माध्यम से साझा किया गया


ClaimsIdentity.Name Property

Definition

Gets the name of this claims identity.

public:
 virtual property System::String ^ Name { System::String ^ get(); };
public virtual string Name { get; }
public virtual string? Name { get; }
member this.Name : string
Public Overridable ReadOnly Property Name As String

Property Value

The name or null.

Implements

Remarks

Returns the value of the first claim with a type that matches the name claim type set in the NameClaimType property. If no claim is found that matches the name claim type, returns null.

Applies to

See also