# tcld user command reference

> User management operations

The `tcld user` command user management operations.

Alias: `u`

- [tcld user list](#list)
- [tcld user get](#get)
- [tcld user invite](#invite)
- [tcld user resend-invite](#resend-invite)
- [tcld user delete](#delete)
- [tcld user set-account-role](#set-account-role)
- [tcld user set-namespace-permissions](#set-namespace-permissions)

### list

The `tcld user list` command list users.

Alias: `l`

#### --namespace

List users that have permissions to the namespace

Alias: `n`

#### --page-token

Page token for paging list users request

Alias: `p`

#### --page-size

Page size for paging list users request

Alias: `s`

### get

The `tcld user get` command get user information.

Alias: `g`

#### --user-id

The user id

Alias: `id`

#### --user-email

The user email address of the user

Alias: `e`

### invite

The `tcld user invite` command invite users to Temporal Cloud.

Alias: `i`

#### --user-email

The email address of the user, you can supply this flag multiple times to invite multiple users in a single request

Alias: `e`

#### --account-role

The account role to set on the user; valid types are: [Admin Developer FinanceAdmin MetricsRead Owner Read]

Alias: `ar`

#### --namespace-permission

Flag can be used multiple times; value must be "namespace=permission"; valid types are: [Admin Read Write]

Alias: `p`

#### --request-id

The request-id to use for the asynchronous operation, if not set the server will assign one (optional)

Alias: `r`

### resend-invite

The `tcld user resend-invite` command resend invitation to a user on Temporal Cloud.

Alias: `ri`

#### --user-id

The user id

Alias: `id`

#### --user-email

The user email address of the user

Alias: `e`

#### --request-id

The request-id to use for the asynchronous operation, if not set the server will assign one (optional)

Alias: `r`

### delete

The `tcld user delete` command delete user from Temporal Cloud.

Alias: `d`

#### --user-id

The user id

Alias: `id`

#### --user-email

The user email address of the user

Alias: `e`

#### --resource-version

The resource-version (etag) to update from, if not set the cli will use the latest (optional)

Alias: `v`

#### --request-id

The request-id to use for the asynchronous operation, if not set the server will assign one (optional)

Alias: `r`

### set-account-role

The `tcld user set-account-role` command set account role for a user.

Alias: `sar`

#### --user-id

The user id

Alias: `id`

#### --user-email

The user email address of the user

Alias: `e`

#### --request-id

The request-id to use for the asynchronous operation, if not set the server will assign one (optional)

Alias: `r`

#### --resource-version

The resource-version (etag) to update from, if not set the cli will use the latest (optional)

Alias: `v`

#### --account-role

The account role to set on the user; valid types are: [Admin Developer FinanceAdmin MetricsRead Owner Read]

Alias: `ar`

### set-namespace-permissions

The `tcld user set-namespace-permissions` command set entirely new set of namespace permissions for a user.

Alias: `snp`

#### --user-id

The user id

Alias: `id`

#### --user-email

The user email address of the user

Alias: `e`

#### --request-id

The request-id to use for the asynchronous operation, if not set the server will assign one (optional)

Alias: `r`

#### --resource-version

The resource-version (etag) to update from, if not set the cli will use the latest (optional)

Alias: `v`

#### --namespace-permission

Flag can be used multiple times; value must be "namespace=permission"; valid types are: [Admin Read Write]

Alias: `p`
