-
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 get permissions for
Notes
- Requires the manage_permissions permission
- Uses the Admin and ManagePermissions language files and the ManagePermissions template
- Can display global or local permissions
- Shows an informational message if the user is an admin
- Shows which group(s) gave the particular user a permission
- Shows which board(s) a user has a particular permission on
- Accessed at ?action=profile;sa=showPermissions or ?action=profile;u={user_id};sa=showPermissions
- In 1.0.x, this function was in ManageMembers.php
Advertisement:- Help | Terms and Rules | Go Up ▲
- Copyright © 2022 Simple Machines. All Rights Reserved.
- Page created in 0.015 seconds with 13 queries.
- Forum Search