MembershipProvider.EnablePasswordReset Property
Definition
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
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
Váš názor
https://aka.ms/ContentUserFeedback.
Připravujeme: V průběhu roku 2024 budeme postupně vyřazovat problémy z GitHub coby mechanismus zpětné vazby pro obsah a nahrazovat ho novým systémem zpětné vazby. Další informace naleznete v tématu:Odeslat a zobrazit názory pro