UserOptions Class

Definition

Options for user validation.

C#
public class UserOptions
Inheritance
UserOptions

Constructors

Properties

AllowedUserNameCharacters

Gets or sets the list of allowed characters in the username used to validate user names. Defaults to abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789-._@+

RequireUniqueEmail

Gets or sets a flag indicating whether the application requires unique emails for its users. Defaults to false.

Applies to

Product Versions
ASP.NET Core 1.0, 1.1, 2.0, 2.1, 2.2, 3.0, 3.1, 5.0, 6.0, 7.0, 8.0, 9.0