MembershipProvider.EnablePasswordReset MembershipProvider.EnablePasswordReset MembershipProvider.EnablePasswordReset MembershipProvider.EnablePasswordReset Property

Definition

Indicates whether the membership provider is configured to allow users to reset their passwords.

public:
 abstract property bool EnablePasswordReset { bool get(); };
public abstract bool EnablePasswordReset { get; }
member this.EnablePasswordReset : bool
Public MustOverride ReadOnly Property EnablePasswordReset As Boolean

Property Value

true if the membership provider supports password reset; otherwise, false. The default is true.

Examples

For an example of a MembershipProvider implementation, see Implementing a Profile Provider.

Remarks

EnablePasswordReset contains a Boolean value specified in the configuration file (Web.config) using the enablePasswordReset attribute. The value indicates whether users can use the ResetPassword method to overwrite their current password with a new, randomly generated password. This property is read-only.

Applies to

See also