ClaimsIdentityFactory<TUser, TKey>.UserNameClaimType Property

Gets or sets the claim type used for the user name.

Namespace:  Microsoft.AspNet.Identity
Assembly:  Microsoft.AspNet.Identity.Core (in Microsoft.AspNet.Identity.Core.dll)

Syntax

'Declaration
Public Property UserNameClaimType As String 
    Get 
    Set
'Usage
Dim instance As ClaimsIdentityFactory 
Dim value As String 

value = instance.UserNameClaimType

instance.UserNameClaimType = value
public string UserNameClaimType { get; set; }
public:
property String^ UserNameClaimType {
    String^ get ();
    void set (String^ value);
}
member UserNameClaimType : string with get, set
function get UserNameClaimType () : String 
function set UserNameClaimType (value : String)

Property Value

Type: System.String
The claim type used for the user name.

See Also

Reference

ClaimsIdentityFactory<TUser, TKey> Class

Microsoft.AspNet.Identity Namespace

Other Resources

ASP.NET Identity