Collections functions
Encryption functions
General functions
Theme permission functions
Resource functions

get_users()

Description

Returns a user list. Group or search term is optional. The standard user group names are translated using $lang. Custom user group names are i18n translated.

Parameters

ColumnTypeDefaultDescription
$group integer 0 If set, a user group to limit the results
$find string "" Search string to filter returned results
$order_by string "u.username"
$usepermissions boolean false
$fetchrows integer -1
$approvalstate string ""
$returnsql boolean false
$selectcolumns string ""

Return

array Matching user records

This article was last updated 10th July 2020 22:35 Europe/London time based on the source file dated 8th July 2020 11:40 Europe/London time.