-
FAQ
- Forum Search
- Community
- Online Manual
- Support Helpers of the Month
- Function Database
showPermissions
Description
This function loads all the permissions for a particular user for the "Show Permissions" interface.
Syntax
void showPermissions (int $memID)
Parameter $memID
Expected type: Integer
Description: The ID of the member to load permissions for
Notes
- Requires the 'manage_permissions' permission
- Uses the Admin and ManageMembers language files
- Uses the ManageMembers template
- Loads up permissions profiles
- Permissions are loaded into two arrays - $context['member']['permissions']['general'] and $context['member']['permissions']['board']
Advertisement:- Help | Terms and Rules | Go Up ▲
- Copyright © 2022 Simple Machines. All Rights Reserved.
- Page created in 0.023 seconds with 13 queries.
- Forum Search