private function install_many_pending_with_user(
            $user_id,
            $user_public_key,
            $user_secret_key,
            $is_marketing_allowed,
            $site_ids,
            $license_key = false,
            $trial_plan_id = false,
            $redirect = true
        ) {
            $user = $this->setup_user( $user_id, $user_public_key, $user_secret_key );

            if ( ! is_null( $is_marketing_allowed ) ) {
                $this->disable_opt_in_notice_and_lock_user();
            }

            $sites = array();
            foreach ( $site_ids as $site_id ) {
                $sites[] = $this->get_site_info( array( 'blog_id' => $site_id ) );
            }

            $this->install_with_user( $user, $license_key, $trial_plan_id, $redirect, true, $sites );
        }