GET User Authority

The Get User Authority API is used to return the authority information for a specific user or all users.

Method URI

GET

/cdwebconsole/svc/userauthorities

The following example shows the Command:
curl -X 'GET' \
  'https://172.20.186.254:9443/cdwebconsole/svc/userauthorities?userId=abc1' \
  -H 'Authorization: eyJhbGciOiJIUzUxMiJ9.eyJzdWIiOiJhZG1pbmlzdHJhdG9yOjE3Mi4yMC4xODYuMjU0OjIzNjM6OGFkMTdjNzctMWMwNi00NThjLWI4MjAtYjY5YWJhYzM5ODhlIiwiZXhwIjoxNzE1MjQ0NDA4fQ.GcPlktTLqhAgKjaa96XWPvUbSygllhYQWg7w7zGQaZPRyztl3MEZ1eoGZVDsj9PXfqvMhSmxe2YybfM2DkeHhQ' \
  -H 'Content-Type: application/json' \
  -H 'X-XSRF-TOKEN: e1fb8626-0c0c-4f30-b7e7-76e213838466'
Table 1. Input Parameters
Parameter Name Required/Optional Description Valid values
userId  Required

Identifies the user of the User Authority record.

With *all we will get all user authorities.

 
userNode Optional

Identifies the user node of the User Authority record.

To retrieve a particular user's authority, you need to provide both the userId and the userNode.

 
The following example shows the Sample Response:
[
  {
    "authorizedToChangeFileAttributes": "Yes",
    "authorizedToSubmitProcess": "Yes",
    "processDirectory": "C:\\Users\\Administrator\\Desktop",
    "processSend": "Yes",
    "programDirectory": "C:\\Users\\Administrator\\Desktop",
    "authorizedToUpdateNetmap": "Yes",
    "authorizedToExternalStatsLog": "Yes",
    "allowedToSpecifyCRC": "Yes",
    "authorizedToUpdateFileAgentConfiguration": "Yes",
    "authorizedToDeleteProcess": "All",
    "specifyRemoteNodeUser": "Yes",
    "authorizedToWebServices": "Yes",
    "authorizedToStop": "Yes",
    "downloadDirectory": "C:\\Users\\Administrator\\Desktop",
    "authorizedToProcessLibrary": "Yes",
    "authorizedToPerformTranslationTableCommands": "Yes",
    "authorizedToPerformUpdateUserRecords": "Yes",
    "authorizedToChangeProcess": "All",
    "order": "0",
    "group": "",
    "authorizedToUpdateSecurePlusConfiguration": "Yes",
    "allowedToSpecifyCRCOverride": "Yes",
    "authorizedToChangeExecutionPriority": "All",
    "clientSourceIp": "1.1.1.1",
    "authorizedToTrace": "Yes",
    "authorizedToPerformUpdateProxies": "Yes",
    "uploadDirectory": "C:\\Users\\Administrator\\Desktop",
    "authorizedToSubmitInProcess": "Yes",
    "authorizedToSelectProcess": "All",
    "userId": "abc1",
    "authorizedToCopy": "Yes",
    "authorizedToSelectNetMap": "Yes",
    "policyId": "",
    "authorizedToRunJob": "Yes",
    "domain": "",
    "authorizedToSendFiles": "Yes",
    "authorizedToReceiveFiles": "Yes",
    "authorizedToRefreshInitparams": "Yes",
    "authorizedToRunTask": "Yes",
    "authorizedToSelectMessage": "Yes",
    "aclUpdate": "Yes",
    "applicationId": "",
    "authorizedToSelectStatistics": "All"
  }
]