Administration: users and groups
This page describes every devo admin command that manages people: users, deleted users, two-factor authentication, user groups, invitations, the organization owner, and Active Directory domains. Most of these commands work with one workspace type only: Devolutions Cloud, Devolutions Server, or a local profile. The Workspace line under each command says where it works. A command run on a workspace type it doesn't support stops with operationNotSupportedBySource and names the type you need.
For the list of all commands, see Commands. For step-by-step tasks, see Manage users, groups, and access. The options every command accepts, such as --context or --output json, are described in Global options and aren't repeated here.
devo admin user list
Lists the users of the selected workspace. Alias: devo admin user ls.
Workspace: All workspace types. A local profile lists users only when the profile contains them.
devo admin user listThis command has no options of its own.
devo admin user get
Shows one user, selected by name, email, or ID.
Workspace: All workspace types. A local profile shows users only when the profile contains them.
devo admin user get <user> [--id | --email]<user>
Required. The user to show: a user name by default. Write id:<value> for an ID, email:<value> for an email or login email, or name:<value> to force a name.
--id
Off
Reads <user> as a user ID.
--email
Off
Reads <user> as an email or login email.
devo admin user create
Creates a user on Devolutions Server.
Workspace: Devolutions Server.
<name>
Required. User name (login) of the new user. It can't be empty.
--email <email>
Email address of the user.
--password-env <variable>
Name of the environment variable that holds the initial password. Use this option or --password-file, not both. A password is required when --authentication is builtin (the default), and it can't be empty. Line breaks at the end of the value are removed.
--password-file <path>
File that holds the initial password. Use this option or --password-env, not both.
--first-name <name>
First name of the user.
--last-name <name>
Last name of the user.
--authentication <type>
builtin
How the user signs in: builtin (Devolutions Server account; custom and devolutions are accepted too), domain (Active Directory; ad and active-directory are accepted too), or azure-ad (Microsoft Entra ID; azuread, entra-id, and entraid are accepted too). For domain and azure-ad, the password is optional.
--user-type <type>
user
Type of user: admin (or administrator), user, restricted, or read-only (or readonly). When you leave it out, the type is admin if you add --administrator, otherwise user.
--administrator
Off
Creates an administrator. Same as --user-type admin; ignored when you also pass --user-type.
--disabled
Off
Creates the user disabled. Without it, the user is enabled.
--force-password-change
Off
Makes the user change the password at the next sign-in.
--display-name <name>
Not accepted by Devolutions Server: the command stops with operationNotSupportedBySource. Use --first-name and --last-name.
--login-email <email>
Not accepted by Devolutions Server: the command stops with operationNotSupportedBySource. Use --email.
--yes (-y, --confirmed)
Off
Confirms the creation. Required.
devo admin user update
Changes a user. Options you leave out keep their current value, and you must pass at least one change. Some options belong to one workspace type: you can't combine Devolutions Cloud options with Devolutions Server options in one command, and an option the selected workspace doesn't accept stops the command with operationNotSupportedBySource.
Workspace: Devolutions Cloud, Devolutions Server.
<user>
Required. The user to change: a user name by default, or id:<value>. The user must match exactly one account.
--id
Off
Reads <user> as a user ID.
--name <name>
New user name. On Devolutions Cloud, --name and --display-name both change the user's name: pass only one of them. Not accepted by Devolutions Server: use --first-name and --last-name.
--display-name <name>
New display name. On Devolutions Cloud, it changes the user's name, like --name. Not accepted by Devolutions Server: use --first-name and --last-name.
--email <email>
New email address. On Devolutions Cloud, pass a valid email address.
--login-email <email>
New login email. Not accepted by Devolutions Cloud or Devolutions Server.
--administrator <true|false>
Makes the user an administrator (true) or not (false). On Devolutions Server, true sets the user type to admin and false to user, unless you also pass --user-type. Any other value is refused.
--enabled <true|false>
Enables (true) or disables (false) the user. Any other value is refused.
--description <text>
Devolutions Cloud only. New description. Pass an empty value to clear it.
--locale <locale>
Devolutions Cloud only. New locale of the user. It can't be empty.
--workspace-access <true|false>
Devolutions Cloud only. Gives (true) or removes (false) Workspace access.
--web-login <true|false>
Devolutions Cloud only. Allows (true) or blocks (false) Devolutions web login for the user.
--user-vaults <true|false>
Devolutions Cloud only. Gives (true) or removes (false) access to user vaults.
--first-name <name>
Devolutions Server only. New first name.
--last-name <name>
Devolutions Server only. New last name.
--user-type <type>
Devolutions Server only. New user type: admin (or administrator), user, restricted, or read-only (or readonly).
--password-env <variable>
Devolutions Server only. Name of the environment variable that holds the new password. Use this option or --password-file, not both. The password can't be empty.
--password-file <path>
Devolutions Server only. File that holds the new password.
--force-password-change
Off
Devolutions Server only. Makes the user change the password at the next sign-in.
--yes (-y, --confirmed)
Off
Confirms the change. Required.
On Devolutions Cloud, users synchronized from your organization's directory are managed by that directory, and Devolutions CLI refuses to change them with cloudUserSynchronized. A local profile can't change users: the command reports that the change isn't available for the profile.
devo admin user delete
Deletes a user. Devolutions Cloud and Devolutions Server delete a user by ID, so a name is first matched to exactly one user. On Devolutions Server, a deleted user goes to the trash, where you can restore or purge it with the devo admin user trash commands. Alias: devo admin user rm.
Workspace: Devolutions Cloud, Devolutions Server.
<user>
Required. The user to delete: a user name by default, or id:<value>.
--id
Off
Reads <user> as a user ID.
--delete-sql-login
Off
Meant to also remove the user's SQL login. It has no effect on Devolutions Cloud or Devolutions Server.
--yes (-y, --confirmed)
Off
Confirms the deletion. Required.
On Devolutions Cloud, users synchronized from your organization's directory can't be deleted with Devolutions CLI: the command stops with cloudUserSynchronized. A local profile can't delete users: the command reports that the change isn't available for the profile.
devo admin user groups list
Lists the user groups a user belongs to. Alias: devo admin user groups ls.
Workspace: Devolutions Cloud, local profile (read only, when the profile contains groups).
<user>
Required. The user: a user name by default, id:<value> for an ID or email:<value> for an email or login email.
--id
Off
Reads <user> as a user ID.
--email
Off
Reads <user> as an email or login email.
devo admin user trash list
Lists deleted users that are still in the trash. Alias: devo admin user trash ls.
Workspace: Devolutions Server.
[<user>]
Optional user name filter. Devolutions Server doesn't filter deleted users by name: leave it out, or the command stops with invalidParameterValue.
--id
Off
Reads <user> as a user ID. Not used by Devolutions Server, since the user argument isn't accepted.
--case-sensitive
Off
Matches the user name with case sensitivity. Not used by Devolutions Server.
--page-number <number>
1
Page of deleted users to fetch, starting at 1.
--page-size <size>
10000
Number of deleted users per page. Devolutions Server returns at most 500 per page: a larger value is lowered to 500. The value must be at least 1.
devo admin user trash restore
Restores a deleted user from the trash.
Workspace: Devolutions Server.
<user>
Required. The deleted user. Devolutions Server selects deleted users by ID only: write id:<value> or add --id. The ID must be a GUID. Get it from devo admin user trash list.
--id
Off
Reads <user> as a user ID.
--yes (-y, --confirmed)
Off
Confirms the restore. Required.
devo admin user trash purge
Permanently deletes a user from the trash. This can't be undone. Alias: devo admin user trash rm.
Workspace: Devolutions Server.
<user>
Required. The deleted user. Devolutions Server selects deleted users by ID only: write id:<value> or add --id. The ID must be a GUID.
--id
Off
Reads <user> as a user ID.
--yes (-y, --confirmed)
Off
Confirms the permanent deletion. Required.
devo admin user 2fa set
Sets up in advance the two-factor authentication method of a Devolutions Server user. Devolutions CLI first reads the server's two-factor configuration and refuses a method the server doesn't offer.
Workspace: Devolutions Server.
--user-security-id <id>
Required. ID of the Devolutions Server user, as a GUID: the user ID that devo admin user list and devo admin user get show. You need the right to edit users, unless it's your own account.
--type <method>
Required. Two-factor method: google-authenticator (also googleauthenticator, totp, authenticator), yubikey (also yubi-key), email, sms, duo, azure-mfa (also azuremfa), or radius. See the methods your server offers with devo admin settings two-factor get.
--account-name <name>
Account name saved with the method.
--yes (-y, --confirmed)
Off
Confirms the change. Required.
devo admin user 2fa clear
Removes the two-factor authentication method set for a Devolutions Server user.
Workspace: Devolutions Server.
--user-security-id <id>
Required. ID of the Devolutions Server user, as a GUID: the user ID that devo admin user list and devo admin user get show. You need the right to edit users, unless it's your own account.
--yes (-y, --confirmed)
Off
Confirms the change. Required.
devo admin group list
Lists the user groups. Alias: devo admin group ls.
Workspace: Devolutions Cloud, local profile (read only, when the profile contains groups).
This command has no options of its own.
devo admin group get
Shows one user group, by name or ID.
Workspace: Devolutions Cloud, local profile (read only, when the profile contains groups).
<group>
Required. The group: a group name by default, or id:<value>.
--id
Off
Reads <group> as a group ID.
devo admin group create
Creates a user group.
Workspace: Devolutions Cloud.
<name>
Required. Name of the new group.
--description <text>
Description of the group.
--yes (-y, --confirmed)
Off
Confirms the creation. Required.
devo admin group update
Renames a user group or changes its description. Options you leave out keep their value; pass at least --name or --description.
Workspace: Devolutions Cloud.
<group>
Required. The group to change: a group name by default, or id:<value>.
--id
Off
Reads <group> as a group ID.
--name <new-name>
New name of the group. An empty value is treated as "no change".
--description <text>
New description. Pass an empty value (--description "") to clear it.
--yes (-y, --confirmed)
Off
Confirms the change. Required.
devo admin group delete
Deletes a user group and its assignments. A group name is first matched to exactly one group. Groups synchronized from your organization's directory can't be deleted. Alias: devo admin group rm.
Workspace: Devolutions Cloud.
<group>
Required. The group to delete: a group name by default, or id:<value>.
--id
Off
Reads <group> as a group ID.
--yes (-y, --confirmed)
Off
Confirms the deletion. Required.
devo admin group members list
Lists the users who belong to a user group. Alias: devo admin group members ls.
Workspace: Devolutions Cloud, local profile (read only, when the profile contains groups).
<group>
Required. The group: a group name by default, or id:<value>.
--id
Off
Reads <group> as a group ID.
devo admin group members add
Adds a user to a user group.
Workspace: Devolutions Cloud.
<group>
Required. The group: a group name by default, or id:<value>.
<user>
Required. The user to add: a user name by default, id:<value> for an ID or email:<value> for an email or login email.
--group-id
Off
Reads <group> as a group ID.
--user-id
Off
Reads <user> as a user ID.
--user-email
Off
Reads <user> as an email or login email.
--yes (-y, --confirmed)
Off
Confirms the change. Required.
devo admin group members remove
Removes a user from a user group. Alias: devo admin group members rm.
Workspace: Devolutions Cloud.
<group>
Required. The group: a group name by default, or id:<value>.
<user>
Required. The user to remove: a user name by default, id:<value> for an ID or email:<value> for an email or login email.
--group-id
Off
Reads <group> as a group ID.
--user-id
Off
Reads <user> as a user ID.
--user-email
Off
Reads <user> as an email or login email.
--yes (-y, --confirmed)
Off
Confirms the change. Required.
devo admin invitation list
Lists the pending user invitations of the organization, without their secrets. Alias: devo admin invitation ls.
Workspace: Devolutions Cloud.
This command has no options of its own.
devo admin invitation get
Shows one user invitation, without its secrets.
Workspace: Devolutions Cloud.
--invitation-id <id> (--id)
Required. ID of the invitation, as a GUID. Get it from devo admin invitation list.
devo admin invitation delete
Deletes a user invitation. Alias: devo admin invitation rm.
Workspace: Devolutions Cloud.
--invitation-id <id> (--id)
Required. ID of the invitation, as a GUID.
--yes (-y, --confirmed)
Off
Confirms the deletion. Required.
devo admin invitation remove-email
Removes one email address from a user invitation, so that person is no longer invited.
Workspace: Devolutions Cloud.
--invitation-id <id> (--id)
Required. ID of the invitation, as a GUID.
--email <email>
Required. Email address to remove. It must be a single valid email address, with no display name.
--yes (-y, --confirmed)
Off
Confirms the change. Required.
devo admin owner get
Shows the owner of the Devolutions Cloud organization.
Workspace: Devolutions Cloud.
This command has no options of its own.
devo admin owner set
Makes another user the owner of the Devolutions Cloud organization.
Workspace: Devolutions Cloud.
--user-id <id>
Required. ID of the user who becomes the owner, as a GUID. Get it from devo admin user list.
--yes (-y, --confirmed)
Off
Confirms the owner change. Required.
devo admin domain list
Lists the Active Directory domains configured on Devolutions Server, without their bind secrets. Alias: devo admin domain ls.
Workspace: Devolutions Server.
This command has no options of its own.
devo admin domain users
Lists the users Devolutions Server finds in an Active Directory domain.
Workspace: Devolutions Server.
--domain <domain-name> (--domain-name)
Required. Name of the Active Directory domain to query. It can't be empty. See the configured domains with devo admin domain list.
--group <group-name>
Lists only the users of this Active Directory group.
--no-cache
Off
Asks Devolutions Server to query the domain again instead of using its cached list of domain users.
Last updated
Was this helpful?