Search Results for

    Show / Hide Table of Contents

    IUserManager.GenerateChangePhoneNumberToken Method

    Generates a phone number change token that should be used to change the phone number of a user.

    Remarks

    Call this method to generate a phone number change token that should be later used to effectively modify (or set) the phone number for a user. The token can be used in a call to ChangePhoneNumber method.

    Syntax

    Unit: Sphinx.UserManager

    function IUserManager.GenerateChangePhoneNumberToken(User: TUser; const NewPhoneNumber: string): string; virtual; abstract;

    Parameters

    <-> Parameter Type Description
    User TUser The user to generate a phone number change token for.
    const NewPhoneNumber string The new phone number for the user.

    Returns

    The confirmation token used to change the phone number.

    See also

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