Επεξεργασία

Κοινή χρήση μέσω


ClaimsIdentity.NameClaimType Property

Definition

Gets the claim type that is used to determine which claims provide the value for the Name property of this claims identity.

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

Property Value

The name claim type.

Remarks

The NameClaimType property specifies the claim type (Claim.Type) that is used to provide the name for this identity. The name is accessed through the Name property.

This property is set by the constructor.

Applies to

See also