Collections functions
Encryption functions
General functions
Theme permission functions
Resource functions

get_users_with_permission()

Description

Returns all the users who have the permission $permission.
The standard user group names are translated using $lang. Custom user group names are i18n translated.

Parameters

ColumnTypeDefaultDescription
$permission string The permission code to search for

Return

array Matching user records

This article was last updated 12th July 2020 06:05 Europe/London time based on the source file dated 8th July 2020 11:40 Europe/London time.