Freigeben über


RequiresQuestionAndAnswer Property

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

Gets a value indicating whether the membership provider is configured to require the user to answer a password question for password reset and retrieval.

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

Syntax

'Declaration
Public Overrides ReadOnly Property RequiresQuestionAndAnswer As Boolean
'Usage
Dim instance As UpmMembershipProvider
Dim value As Boolean

value = instance.RequiresQuestionAndAnswer
public override bool RequiresQuestionAndAnswer { get; }
public:
virtual property bool RequiresQuestionAndAnswer {
    bool get () override;
}
public override function get RequiresQuestionAndAnswer () : boolean

Property Value

Type: System..::.Boolean
true if a password answer is required for password reset and retrieval; otherwise, false. The default is true.

Remarks

Returns a value indicating whether the membership provider is configured to require the user to answer a password question for password reset and retrieval.

Permissions

See Also

Reference

UpmMembershipProvider Class

UpmMembershipProvider Members

Microsoft.CommerceServer.Runtime.Profiles Namespace