System.Web.Security.MembershipProvider.RequiresQuestionAndAnswer Property

Gets a value indicating whether the membership provider is configured to require the user to answer a password question for password reset and retrieval.

Syntax

public abstract bool RequiresQuestionAndAnswer { get; }

Value

Documentation for this section has not yet been entered.

Remarks

A Boolean value specified in the configuration file (Web.config). The MembershipProvider.RequiresQuestionAndAnswer property indicates whether users must supply a password answer in order to retrieve their password using the MembershipProvider.GetPassword(string, string) method, or reset their password using the MembershipProvider.ResetPassword(string, string) method.

This property is read-only.

Requirements

Namespace: System.Web.Security
Assembly: System.Web (in System.Web.dll)
Assembly Versions: 2.0.0.0
Since: .NET 2.0