Search Results for

    Show / Hide Table of Contents

    IUserManager.GenerateChangeEmailToken Method

    Generates an email change token that should be used to change the e-mail of a user.

    Remarks

    Call this method to generate an email change token that should be later used to effectively modify (or set) the email address for a user. The token can be used in a call to ChangeEmail method.

    Syntax

    Unit: Sphinx.UserManager

    function IUserManager.GenerateChangeEmailToken(User: TUser; const NewEmail: string): string; virtual; abstract;

    Parameters

    <-> Parameter Type Description
    User TUser The user to generate an email change token for.
    const NewEmail string The new email address for the user.

    Returns

    The confirmation token used to change the email.

    See also

    • IUserManager
    In This Article
    Back to top TMS Sphinx v1.15
    © 2021 - 2025 tmssoftware.com