#!/usr/local/cpanel/3rdparty/bin/perl
# cpanel - scripts/transfer_account_as_user Copyright 2022 cPanel, L.L.C.
# All rights reserved.
# copyright@cpanel.net http://cpanel.net
# This code is subject to the cPanel license. Unauthorized copying is prohibited
package scripts::transfer_account_as_user;
use cPstrict;
=encoding utf-8
=head1 USAGE
transfer_account_as_user --host=the.source --user=hank
=head1 DESCRIPTION
This utility transfers an account from a remote server to the local one,
authenticated as that account on the remote.
The parameters are:
=over
=item * C<--host> - The remote (source) hostname or IP address. Required.
=item * C<--user> - The name of the user to transfer.
=item * C<--session> - (optional) An argument, in C