Export (0) Print
Expand All
Expand Minimize

CreateUserWizard.QuestionAndAnswerRequired Property

Gets a value indicating whether the user is required to enter a password confirmation question and answer.

Namespace:  System.Web.UI.WebControls
Assembly:  System.Web (in System.Web.dll)

protected internal bool QuestionAndAnswerRequired { get; }

Property Value

Type: System.Boolean
true if the user is required to enter a password confirmation question and answer; otherwise, false. The default value is true.

The QuestionAndAnswerRequired property returns a value from the membership provider set in the MembershipProvider property specifying whether the user is required to enter a password confirmation question and answer.

If a Membership provider requires a question and answer, the Question and Answer controls are required and the CreateUserWizard throws an exception if they are not found or of the wrong type. If they are not required by the Membership provider, no exception is thrown if they are not found, and if they are of the wrong type they are ignored.

.NET Framework

Supported in: 4.5.2, 4.5.1, 4.5, 4, 3.5, 3.0, 2.0

Windows 8.1, Windows Server 2012 R2, Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

Show:
© 2014 Microsoft