Freigeben über


EnablePasswordReset 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 allow users to reset their passwords.

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

Syntax

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

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

Property Value

Type: System..::.Boolean
true if the membership provider supports password reset; otherwise, false. The default is true.

Remarks

The EnablePasswordReset indicates whether the user can use the ResetPassword method to reset a user's password.

When EnablePasswordReset is true, users are allowed to reset their password.

Permissions

See Also

Reference

UpmMembershipProvider Class

UpmMembershipProvider Members

Microsoft.CommerceServer.Runtime.Profiles Namespace