list-admins

Lists administrators belonging to a virtual server This program simply displays a list of extra administrators associated with one virtual server. You must supply the --domain followed by the domain name of the server to list. By default the output is in a reader-friendly table, but the --multiline option can be used to switch to a format more suitable for reading by programs. To get a list of just the extra admin’s usernames (for use in a script perhaps), add the --name-only command line flag.

Lists administrators belonging to a virtual server#

This program simply displays a list of extra administrators associated with one virtual server. You must supply the --domain followed by the domain name of the server to list. By default the output is in a reader-friendly table, but the --multiline option can be used to switch to a format more suitable for reading by programs.

To get a list of just the extra admin’s usernames (for use in a script perhaps), add the --name-only command line flag.

Command line help#

virtualmin list-admins --domain domain.name
 [--multiline]

Source: https://www.virtualmin.com/docs/development/api-programs/list-admins/

  • virtualmin, domain, user, command line, script, list, admins
  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

Pre and Post Domain Modification Scripts

Virtualmin allows the use of custom scripts (Shell, Perl, Python and etc.) to automate tasks...

OS Support

Virtualmin runs on top of Webmin. Webmin works on almost every UNIX-like OS, so with some manual...

Professional Features

Virtualmin GPL is already an extremely powerful and flexible virtual hosting control panel, so...

How to Configure Secondary DNS

This guide provides administrators with a quick overview of setting up automatic DNS secondary...

How to Configure Cloudflare DNS

For users looking to integrate Cloudflare with Virtualmin Pro, the process is straightforward and...