user copy

Prev Next

This command copies users from the default local provider to another local provider.

Copying from a non-default provider is not supported.

Usage

user copy  --destination-provider-id ID
          [--tenant-id TENANT]
          [--user-ids USERS]

Required Parameters

--destination-provider-id ID

Specifies the local provider to which the users are copied. Cannot be the default provider.

Options

--tenant-id TENANT

Specifies the tenant containing the provider and users. If included, then all users with S3 access keys for this tenant are copied.

This parameter cannot be specified together with ​--user-ids​​.

--user-ids USERS

Specifies a list of a users to copy.

This parameter cannot be specified together with --tenant-id.

Example

To copy three users (IDs 10, 11, 12) from the default local provider to provider with ID 2:

vcli: admin> user copy --destination-provider-id 2 --user-ids 10, 11, 12

To copy all users from a tenant (ID 7):

vcli: admin> user copy --destination-provider-id 2 --tenant-id 7