Table of Contents

IUserManager.GeneratePasswordChangeToken Method

Generates a password change token that should be used to change the user password.

Remarks

Call this method to generate a password change token that should be later used to effectively change the password. The token can be used in a call to ChangePassword method.

Syntax

Unit: Sphinx.UserManager

function IUserManager.GeneratePasswordChangeToken(User: TUser): string; virtual; abstract;

Parameters

<-> Parameter Type Description
User TUser The user to generate an password change token for.

Returns

The token that sholud be used to change the password.

See also