Partager via


RequiresQuestionAndAnswer Property

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

Gets a value indicating whether UpmMembershipProvider requires a valid password answer to certain methods.

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

Syntax

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

value = instance.RequiresQuestionAndAnswer
public bool RequiresQuestionAndAnswer { get; }
public:
property bool RequiresQuestionAndAnswer {
    bool get ();
}
public 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 or not the membership provider is configured to require the user to answer a password question for password reset and retrieval.

Permissions

See Also

Reference

UpmMembershipSettings Class

UpmMembershipSettings Members

Microsoft.CommerceServer.Runtime.Profiles Namespace