-
FAQ
- Forum Search
- Community
- Online Manual
- Support Helpers of the Month
- Function Database
membersAllowedTo
Description
Retrieves a list of members that are allowed to do the given permission.
Syntax
array membersAllowedTo (string $permission[, int $board_id])
Parameter $permission
Expected type: String
Description: The permission
Parameter $board_id
Expected type: Integer
Description: If specified, finds any members who have the specified permission on this board.
Return value
Expected type: Array of Integers
Description: An array of IDs of the members who have the specified permission
Notes
- 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.
- Returns an array containing member IDs.
Advertisement:- Help | Terms and Rules | Go Up ▲
- Copyright © 2022 Simple Machines. All Rights Reserved.
- Page created in 0.118 seconds with 13 queries.
- Forum Search