Partilhar via


ResetPassword Method

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

Resets a user's password to a new, automatically generated password.

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

Syntax

'Declaration
Public Overrides Function ResetPassword As String
'Usage
Dim instance As UpmMembershipUser
Dim returnValue As String

returnValue = instance.ResetPassword()
public override string ResetPassword()
public:
virtual String^ ResetPassword() override
public override function ResetPassword() : String

Return Value

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

Remarks

Resets a user's password to a new, automatically generated password.

Permissions

See Also

Reference

UpmMembershipUser Class

UpmMembershipUser Members

ResetPassword Overload

Microsoft.CommerceServer.Runtime.Profiles Namespace