UserValidator<TUser, TKey>.AllowOnlyAlphanumericUserNames Property

Gets or sets whether to allow only alphanumeric characters for the user name.

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

public bool AllowOnlyAlphanumericUserNames { get; set; }

Property Value

Type: System.Boolean
true to allow only alphanumeric characters for the user name; otherwise, false.
Show: