Share via


ClaimsIdentityOptions.UserNameClaimType Property

Definition

Gets or sets the ClaimType used for the user name claim. Defaults to Name.

public:
 property System::String ^ UserNameClaimType { System::String ^ get(); void set(System::String ^ value); };
public string UserNameClaimType { get; set; }
member this.UserNameClaimType : string with get, set
Public Property UserNameClaimType As String

Property Value

Remarks

This defaults to Name.

Applies to