System.Web.UI.WebControls.CreateUserWizard.AutoGeneratePassword Property

Gets or sets a value indicating whether or not to automatically generate a password for the new user account.

Syntax

[System.Web.UI.Themeable(false)]
public virtual bool AutoGeneratePassword { set; get; }

Value

Documentation for this section has not yet been entered.

Remarks

The CreateUserWizard.AutoGeneratePassword property makes it possible to create user accounts without entering a password for them. For example, this functionality is useful when an administrator creates a new user's account and then gives a password to the user.

Note:

You cannot create users using the System.Web.UI.WebControls.CreateUserWizard if CreateUserWizard.AutoGeneratePassword is set to true and the System.Web.Security.Membership.PasswordStrengthRegularExpression property is set in the application's Web.config. An error message indicating an invalid password will result.

Requirements

Namespace: System.Web.UI.WebControls
Assembly: System.Web (in System.Web.dll)
Assembly Versions: 2.0.0.0
Since: .NET 2.0