array usergroup.getobjects(object filter)
This method allows to retrieve user groups that match the given filter criteria.
(object) Criteria to search by.
Additionally to the standard standard user group properties the following parameters are supported as search criteria.
|name||string||Name of the user group.|
|node||string||Name of the node the user groups must belong to.
This will override the
|nodeids||string/array||IDs of the nodes the user groups must belong to.|
(array) Returns an array of objects with all properties.
Retrieve all data about the user group "Zabbix administrators".
CUserGroup::getObject() in frontends/php/api/classes/CUserGroup.php.