CreateUserWizard.DuplicateUserNameErrorMessage 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 error message displayed when the user enters a user name that is already in use in the membership provider.
public:
virtual property System::String ^ DuplicateUserNameErrorMessage { System::String ^ get(); void set(System::String ^ value); };
public virtual string DuplicateUserNameErrorMessage { get; set; }
member this.DuplicateUserNameErrorMessage : string with get, set
Public Overridable Property DuplicateUserNameErrorMessage As String
Property Value
The error message displayed when the user enters a user name that is already in the membership provider. The default value is "Please enter a different user name." The default text for the control is localized based on the server's current locale.
Remarks
The value of this property, when set, can be saved automatically to a resource file by using a designer tool. For more information, see LocalizableAttribute and Globalization and Localization.