listPermissions

Description

This function returns permissions for the GUI.

Parameters

Parameter name Value Description Possible values Example
section String Required
The section that you want the permissions to.
  • whm
  • cpnel
 
username String The user that you want to get specific permissions.    

Returns

Parameter name Value Description Possible values Example
account String The account username.   root
permissions Object The permissions for the GUI. To view the possible values click on Returned WHM Permissions Object / Returned cPanel Permissions Object  

Example