Retrieve information on all users with the given permissions

Permissions are always honoured so users from groups to which this user does not have access will be omitted.

Variable Description Data type Default value
$permissions * An array of permission strings. Users must be in a group with all of the permissions to be returned array N/A

Return values

An array of matching user records with a subset of information from the user record