PasswordRecovery.Question 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 the password recovery confirmation question established by the user on the Web site.
public:
property System::String ^ Question { System::String ^ get(); };
[System.ComponentModel.Browsable(false)]
[System.Web.UI.Themeable(false)]
public string Question { get; }
[<System.ComponentModel.Browsable(false)>]
[<System.Web.UI.Themeable(false)>]
member this.Question : string
Public ReadOnly Property Question As String
Property Value
The password recovery confirmation question. The default value is Empty.
- Attributes
Remarks
The Question property contains the password recovery confirmation question that the user previously established on the Web site. The Question property is displayed only in the Question view. If the membership provider specified in the MembershipProvider property does not support password question and answer, the Question view is not displayed and the Question property is not used.
The membership provider returns the question only after the user enters a valid user name. Until the user enters a valid user name, the Question property is Empty.
The style settings in the TextBoxStyle property define the appearance of the Question property.
When you use the QuestionTemplate property to define the appearance of the Question view, the Question property is displayed in an optional Literal control with the ID property set to "Question".
This property cannot be set by themes or style sheet themes. For more information, see ThemeableAttribute and ASP.NET Themes and Skins.
Applies to
See also
Feedback
https://aka.ms/ContentUserFeedback.
În curând: Pe parcursul anului 2024, vom elimina treptat Probleme legate de GitHub ca mecanism de feedback pentru conținut și îl vom înlocui cu un nou sistem de feedback. Pentru mai multe informații, consultați:Trimiteți și vizualizați feedback pentru