Last modified October 31, 2024
listPermissions
This function lists all permission settings of the current logged in user.
Parameter name | Type | Description | Possible Values | Example |
---|---|---|---|---|
account | String | The Object ID of the current user. | oid:606dbe8b90f1b17d0569b833 |
|
permissions | List [] | List of all the current permissions settings for the user. | For a full list of all the permissions settings please check Permissions Object below. |
Example Call JETAPI
jetbackup5api -F listPermissions
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:
account:
oid: 65075382d49adbd1660f06d2
permissions:
0: 1
1: 1
2: 1
3: 1
4: 1
5: 1
6: 1
7: 1
8: 1
9: 1
10: 1
11: 1
20: 1
19: 1
22: 1
12: 1
21: 1
13: 1
14: 1
15: 1
16: 1
17: 1
18: 1
23: 1
Example Call HTTP
https://hostname.example.com:2087/cpsess##########/cgi/addons/jetbackup5/api.cgi?function=listPermissions
- To view available listing parameters, please visit List Parameters.
- API List calls have a default limit of 100 items.
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.