get_usergroups()

Description

Returns a list of user groups. The standard user groups are translated using $lang. Custom user groups are i18n translated.
Puts anything starting with 'General Staff Users' - in the English default names - at the top (e.g. General Staff).

Parameters

ColumnTypeDefaultDescription
$usepermissions boolean false Use permissions (user access)
$find string '' Search string
$id_name_pair_array boolean false Return an array of ID->name instead of full records

Return

array Matching user group records

This article was last updated 8th July 2025 21:35 Europe/London time based on the source file dated 8th July 2025 16:15 Europe/London time.