System.Web.UI.WebControls.CreateUserWizard.DisableCreatedUser Property

Gets or sets a value indicating whether the new user should be allowed to log on to the Web site.

Syntax

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

Value

Documentation for this section has not yet been entered.

Remarks

The CreateUserWizard.DisableCreatedUser property determines if the newly created user account will be marked as disabled in the membership data store. When user accounts are marked as disabled, the accounts are not allowed to log on to the Web site. For example, if your Web site allows new users to request an account, but requires administrative approval before allowing access, set the CreateUserWizard.DisableCreatedUser property to true to disable newly created accounts until an administrator approves the account.

When CreateUserWizard.DisableCreatedUser is true, you should set the CreateUserWizard.LoginCreatedUser property to false so that the System.Web.UI.WebControls.CreateUserWizard does not attempt to log on the new user.

This property cannot be set by themes or style sheet themes. For more information, see System.Web.UI.ThemeableAttribute and ASP.NET Themes Overview.

Requirements

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