Get List of Users Assigned to User Group
To get a list of users assigned to a user group:
| |
XML Request Example
| |
JSON Request Example
| |
XML Output Example
| |
Where:
- activated_at – time when the user was activated
- avatar - user’s avatar
- bucket_id – ID of the bucket assigned to this user
- cdn_account_status – always returns ACTIVE status; but it is actually activated when CDN was enabled for particular user
- cdn_status - whether CDN resources are enabled for this user or not
- created_at – time when the user was created, in [YYYY][MM][DD]T[hh][mm][ss]Z
- deleted_at – time when the user was deleted
- email – user’s email
- firewall_id - the ID of the firewall the user is associated with
- first_name – user’s first name
- group_id - deprecated attribute; will be removed in upcoming release
- id — the ID of a user in the database
- image_template_group – the ID of associated template group, if any
- infoboxes - an array of infoboxes with the following details:
- hidden_infoboxes - an array of hidden infoboxes
- hidden_infobox - hash of a hidden inobox
- display_infoboxes - true if the infoboxes are displayed for this user; otherwise, false
- hidden_infoboxes - an array of hidden infoboxes
- last_name – the user’s last name
- locale – locale (language) associated with user
- login – user’s login name. The login parameter is not returned when API key is used for authentication instead of a login/password combination.
- password_changed_at - the date when the user’s password was changed in the [YYYY][MM][DD]T[hh][mm][ss]Z format
- registered_yubikey - true if the user has enabled logging in using a YubiKey; otherwise, false. To view the Yubikey(s) associated with a certain user, refer to Get List of User’s YubiKeys. For the API request that adds a YubiKey, refer to Add YubiKey to User.
- status – status of the user’s account (active, suspended or deleted)
- supplied - whether the user was created for the supplier when he published a zone to the Federation. If true, no actions can be performed on this user
- suspend_at – time when the system should suspend a user
- system_theme - color scheme of the interface: light or dark
- time_zone – the time zone of the user
- total_amount - sum total of outstanding and payment amount
- updated_at – time when user’s profile data was updated
- use_gravatar - true if avatar is enabled for the user; otherwise, false
- user_group_id – ID of the user group assigned to this user
- outstanding_amount – the amount of money the user is due to pay
- payment_amount – amount of money the user has actually paid
- roles — an array of user roles to which this account is assigned to, where
- created_at - the date in the [YYYY][MM][DD]T[hh][mm][ss]Z format
- id – role ID
- identifier – role identifier
- label – role title
- updated_at - the date in the [YYYY][MM][DD]T[hh][mm][ss]Z format
- permissions – an array with permissions assigned to this role
- created_at - the date in the [YYYY][MM][DD]T[hh][mm][ss]Z format
- id – permission ID
- identifier – permission identifier
- label – permission title
- updated_at - the date in the [YYYY][MM][DD]T[hh][mm][ss]Z format
- used_cpus – number of CPU cores allocated to all virtual servers and edge servers of the user
- used_memory - the amount of RAM used by the user (MB)
- used_cpu_shares - the amount of CPU shares used
- used_disk_size – size of all user disks in GB
- used_ip_addresses – an array of IP addresses associated with the user
- ip_address - an array of IP address with the following parameters:
- address - IP address
- broadcast – broadcast address
- created_at — the date in the [YYYY][MM][DD]T[hh][mm][ss]Z format
- customer_network_id - the ID of the customer VLAN the IP address belongs to
- disallowed_primary – true if not allowed to be used as primary (for VS build); otherwise false
- gateway – gateway address
- hypervisor_id - the ID of a compute resource the IP address is associated with
- id – the ID of the IP address
- ip_address_pool_id – the address of the IP address pool
- network_address – the address of the network
- network_id – the ID of the network
- pxe - true if this compute resource address can be used for cloudbooting a compute resource
- updated_at – the date when the network was updated in the [YYYY][MM][DD]T[hh][mm][ss]Z format
- user_id – ID of a user associated with this IP address
- free – true if free; otherwise, false
- netmask – netmask for the IP address
- ip_address - an array of IP address with the following parameters:
- memory_available – the amount of RAM available to this user (MB)
- disk_space_available – disk space available for the user (GB)
- additional field – user additional field, where:
- value – the additional field value
- name – the additional field title
- additional field – user additional field, where: