CreateUserWizard.QuestionAndAnswerRequired Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets a value indicating whether the user is required to enter a password confirmation question and answer.
protected public:
property bool QuestionAndAnswerRequired { bool get(); };
protected internal bool QuestionAndAnswerRequired { get; }
member this.QuestionAndAnswerRequired : bool
Protected Friend ReadOnly Property QuestionAndAnswerRequired As Boolean
Property Value
true
if the user is required to enter a password confirmation question and answer; otherwise, false
. The default value is true
.
Remarks
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.
Applies to
See also
Σχόλια
https://aka.ms/ContentUserFeedback.
Σύντομα διαθέσιμα: Καθ' όλη τη διάρκεια του 2024 θα καταργήσουμε σταδιακά τα ζητήματα GitHub ως μηχανισμό ανάδρασης για το περιεχόμενο και θα το αντικαταστήσουμε με ένα νέο σύστημα ανάδρασης. Για περισσότερες πληροφορίες, ανατρέξτε στο θέμα:Υποβολή και προβολή σχολίων για