Language

UserOptions.AllowedUserNameCharacters Property

Definition

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

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

Property Value

The list of allowed characters in the username used to validate user names.

Remarks

When set to null or empty, there are no restrictions on the characters that can be used in user names.

Applies to