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)

'Declaration
Public Overrides ReadOnly Property EnablePasswordReset As Boolean 
	Get
'Usage
Dim instance As SimpleMembershipProvider 
Dim value As Boolean 

value = instance.EnablePasswordReset

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.

Show: