System.Web.UI.WebControls.PasswordRecovery.MembershipProvider Property

Gets or sets the membership provider used to look up user information.

Syntax

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

Value

Documentation for this section has not yet been entered.

Remarks

The PasswordRecovery.MembershipProvider property identifies the membership provider used to verify user information entered in the System.Web.UI.WebControls.PasswordRecovery control.

Membership providers are defined in the Web.config file in the <membership> section.

Setting the PasswordRecovery.MembershipProvider property will change the provider used. If you do not set the PasswordRecovery.MembershipProvider property, it will always return string.Empty.

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