Collections functions
General functions
Node functions
Render functions
Theme permission functions
User 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 19th March 2024 04:35 Europe/London time based on the source file dated 15th March 2024 17:00 Europe/London time.