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)
'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
Type: System..::.Boolean
true if the membership provider supports password reset; otherwise, false. The default is true.
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.
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.