다음을 통해 공유


CreateUserWizard.QuestionAndAnswerRequired 속성

정의

사용자가 암호 확인 질문과 대답을 입력해야 하는지 여부를 나타내는 값을 가져옵니다.

protected public:
 property bool QuestionAndAnswerRequired { bool get(); };
protected internal bool QuestionAndAnswerRequired { get; }
member this.QuestionAndAnswerRequired : bool
Protected Friend ReadOnly Property QuestionAndAnswerRequired As Boolean

속성 값

true사용자가 암호 확인 질문과 대답을 입력해야 하면 이고, 그렇지 않으면 . false 기본값은 true입니다.

설명

이 속성은 QuestionAndAnswerRequired 사용자가 암호 확인 질문과 대답을 입력해야 하는지 여부를 지정하는 속성에 설정된 MembershipProvider 멤버 자격 공급자의 값을 반환합니다.

멤버 자격 공급자에 질문과 대답 Question 이 필요한 경우 컨트롤과 Answer 컨트롤이 필요하며 CreateUserWizard , 찾을 수 없거나 잘못된 형식이면 예외가 throw됩니다. 멤버 자격 공급자가 필요하지 않은 경우 멤버 자격 공급자가 없는 경우 예외가 throw되지 않으며 잘못된 형식인 경우 무시됩니다.

적용 대상

추가 정보