Last modified November 7, 2024

getPermissions

This function returns the Permissions Object of the specific user selected. (Default: Return Global Permissions)
Parameters
Parameter name Type Description Possible Values Example
username String Username of the acount you wish to change permissions.   username=acct001

Example Call JETAPI

jetbackup5api -F getPermissions -D "username={$USERNAME}
success: 1 message: system: version: 5.3.3 version_panel: 5.3.3 tier: EDGE type: cPanel retry_ms: 0 disableui: dr: agreement_panel: agreement: licenseIssue: data: permissions: 0: 1 1: 0 2: 2 3: 2 4: 2 5: 2 6: 2 7: 2 8: 2 9: 2 10: 2 11: 2 20: 2 19: 2 22: 2 12: 2 21: 2 13: 2 14: 2 15: 2 16: 2 17: 2 18: 2 23: 2

Example Call HTTP

jetbackup5api -F getPermissions -D "username={$USERNAME}