UserOptions.AllowedUserNameCharacters Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.