Navigation

Search

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']
View all versions of this function