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
- 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.