Collections functions
General functions
Node functions
Render functions
Theme permission functions
User functions
Resource functions

get_users_by_permission()

Description

Retrieve all user records in groups with/without the specified permissions



Note that this can't use a straight FIND_IN_SET for permissions since that is case insensitive

Parameters

ColumnTypeDefaultDescription
$permissions array array of permission strings to check

Return

array Matching user records (only returns a subset of columns)

This article was last updated 21st May 2024 21:35 Europe/London time based on the source file dated 17th May 2024 15:30 Europe/London time.