• JMap.User.changeFullName

    For JMapCloud only.

    Changes the user's full name.

    Parameters

    • newFullName: string

      The user's new full name.

    Returns Promise<void>

    Throws

    Error if full name is not a string or is empty.

    Example

    // change the user's full name
    JMap.User.changeFullName("John Doe")
    .then(() => console.info("Full name changed successfully"))
    .catch(error => console.error(error))