Function membersAllowedTo
Retrieves a list of members that have a given permission (on a given board). If board_id is not null, a board permission is assumed. Takes different permission settings into account. Takes possible moderators (on board 'board_id') into account.
Package: SMF
Copyright: 2020 Simple Machines and individual contributors
License: BSD
Author: Simple Machines https://www.simplemachines.org
Located at Sources/Subs-Members.php
Copyright: 2020 Simple Machines and individual contributors
License: BSD
Author: Simple Machines https://www.simplemachines.org
Located at Sources/Subs-Members.php
string |
$permission |
The permission to check |
integer |
$board_id = null |
If set, checks permission for that specific board |
array
|
An array containing the IDs of the members having that permission |