System.Web.Security.SqlMembershipProvider.RequiresQuestionAndAnswer Property

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

Syntax

public override bool RequiresQuestionAndAnswer { get; }

Value

Documentation for this section has not yet been entered.

Remarks

Requiring a password question and answer provides an additional layer of security when retrieving or resetting a user's password. When creating a user name, a user can supply a question and answer that can later be used to retrieve or reset a forgotten password. If the SqlMembershipProvider.EnablePasswordReset property and the SqlMembershipProvider.EnablePasswordRetrieval property are both false, the value of the SqlMembershipProvider.RequiresQuestionAndAnswer property is irrelevant.

For more information, see SqlMembershipProvider.ResetPassword(string, string) and SqlMembershipProvider.GetPassword(string, string).

Requirements

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