System.Web.Security.MembershipUser.PasswordQuestion Property

Gets the password question for the membership user.

Syntax

public virtual string PasswordQuestion { get; }

Value

Documentation for this section has not yet been entered.

Remarks

If Membership.RequiresQuestionAndAnswer is true, then the password answer for a membership user must be supplied to the MembershipUser.GetPassword(string) and MembershipUser.ResetPassword(string) methods. The MembershipUser.PasswordQuestion serves as a reminder to the membership user of what his or her password answer is. Once the membership user has supplied a password answer, the answer value can be supplied to the erload:System.Web.Security.MembershipUser.GetPassword or erload:System.Web.Security.MembershipUser.ResetPassword method.

Requirements

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