System.Web.UI.WebControls.ChangePassword.MembershipProvider Property

Gets or sets the membership provider that is used to manage member information.

Syntax

[System.ComponentModel.DefaultValue("")]
[System.Web.UI.Themeable(false)]
public virtual string MembershipProvider { set; get; }

Value

Documentation for this section has not yet been entered.

Remarks

The ChangePassword.MembershipProvider property gets or sets the membership provider that is used to look up member information. If the ChangePassword.MembershipProvider property is null or empty, the default membership provider, AspNetSqlMembershipProvider, is used. For more information about the membership providers available to ASP.NET applications, see Membership Providers.

The new password must meet the minimum requirements set by the membership provider in the System.Web.Security.Membership.MinRequiredPasswordLength, System.Web.Security.Membership.MinRequiredNonAlphanumericCharacters, and System.Web.Security.Membership.PasswordStrengthRegularExpression properties. If the password does not meet these requirements, the ChangePassword.ChangePasswordError event is raised.

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