CreateUserWizard.PasswordHintText Property

Definition

Gets or sets the text that describes password requirements.

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

Property Value

The text that describes password requirements. The default value is an empty string ("").

Remarks

You can use the PasswordHintText property to provide guidelines and requirements for the user on how to create a password. For example, you could set the PasswordHintText property to "Your password must be at least six characters long." You can then use the PasswordRegularExpression property to validate that the user entered a password that conforms to the guidelines.

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.

Applies to

See also