MembershipProvider.EnablePasswordReset Property
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
true
if the membership provider supports password reset; otherwise, false
. The default is true
.
For an example of a MembershipProvider implementation, see Implementing a Profile Provider.
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.
Product | Versions |
---|---|
.NET Framework | 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1 |
.NET feedback
.NET is an open source project. Select a link to provide feedback: