PasswordQuestion Property

For the latest version of Commerce Server 2007 Help, see the Microsoft Web site.

Gets the password question for the membership user.

Namespace: Microsoft.CommerceServer.Runtime.Profiles
Assembly: Microsoft.CommerceServer.Runtime (in Microsoft.CommerceServer.Runtime.dll)

Syntax

'Declaration
Public Overrides ReadOnly Property PasswordQuestion As String
'Usage
Dim instance As UpmMembershipUser
Dim value As String

value = instance.PasswordQuestion
public override string PasswordQuestion { get; }
public:
virtual property String^ PasswordQuestion {
    String^ get () override;
}
public override function get PasswordQuestion () : String

Property Value

Type: System..::.String
The password question for the membership user.

Remarks

Gets the password question for the membership user.

If RequiresQuestionAndAnswer is true, then the password answer for a membership user must be supplied to the GetPassword and ResetPassword methods. The 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 ResetPassword method.

Permissions

See Also

Reference

UpmMembershipUser Class

UpmMembershipUser Members

Microsoft.CommerceServer.Runtime.Profiles Namespace