Export (0) Print
Expand All

SimpleMembershipProvider.EnablePasswordReset Property

Gets a value that indicates whether the membership provider lets users reset their passwords.

Namespace:  WebMatrix.WebData
Assembly:  WebMatrix.WebData (in WebMatrix.WebData.dll)

public override bool EnablePasswordReset { get; }

Property Value

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

The EnablePasswordReset property is set in the application configuration file (Web.config) using the enablePasswordReset attribute. The value of the property indicates whether you can call the ResetPassword(String, String) method to change the current password for a user account to a new, randomly generated password. This property is read-only.

  • Medium trust for the immediate caller. This member can be used by partially trusted code.
Show:
© 2014 Microsoft