Automation Anywhere

Automation Anywhere Automation 360

關閉內容

內容

開啟內容

擷取特定使用者詳細資料 API

  • 已更新:4/07/2021
    • Automation 360 v.x
    • 管理
    • RPA 工作區
    • API 文件

擷取特定使用者詳細資料 API

使用 獲取用戶詳細信息 API 可在中檢索特定的用戶詳細信息 Control Room

先決條件

確保具有“ 查看用戶 ”權限的管理員角色或自定義角色。

程序

  1. 將驗證令牌添加到請求標頭。
  2. 在請求標題中,添加要檢索的特定用戶 ID 。
  3. 使用 GET 方法和端點 URL :<your _control_room _url>/v1/usermanagement/users/2 <user ID>
  4. 發送請求。
    我們正在傳送要求以擷取特定使用者 ID 的詳細資料:2075
    響應主體
    {
        "id": 2075,
        "username": "mdadmin1",
        "domain": "string",
        "firstName": "MDadmin2",
        "lastName": "ADadmin",
        "version": 0,
        "principalId": 2075,
        "deleted": false,
        "roles": [
            {
                "name": "AAE_Basic",
                "id": 2,
                "version": 0
            }
        ],
        "sysAssignedRoles": [],
        "groupNames": [],
        "permissions": [
            {
                "id": 7526,
                "action": "viewuserrolebasicinfo",
                "resourceId": null,
                "resourceType": "usermanagement"
            },
            {
                "id": 7,
                "action": "run",
                "resourceId": null,
                "resourceType": "repositorymanager"
            },
            {
                "id": 94,
                "action": "view",
                "resourceId": null,
                "resourceType": "botstore"
            },
            {
                "id": 61,
                "action": "createstandard",
                "resourceId": null,
                "resourceType": "credentialattribute"
            },
            {
                "id": 92,
                "action": "view",
                "resourceId": null,
                "resourceType": "packagemanager"
            },
            {
                "id": 97,
                "action": "register",
                "resourceId": null,
                "resourceType": "devices"
            },
            {
                "id": 29,
                "action": "view",
                "resourceId": null,
                "resourceType": "repositorymanager"
            },
            {
                "id": 120,
                "action": "view",
                "resourceId": null,
                "resourceType": "dashboard"
            }
        ],
        "licenseFeatures": [
            "DEVELOPMENT"
        ],
        "emailVerified": false,
        "passwordSet": false,
        "questionsSet": false,
        "enableAutoLogin": true,
        "disabled": true,
        "clientRegistered": false,
        "description": "string",
        "createdBy": 1513,
        "createdOn": "2020-11-20T20:17:26Z",
        "updatedBy": 1513,
        "updatedOn": "2020-11-20T20:17:26Z",
        "publicKey": null,
        "appType": null,
        "routingName": null,
        "appUrl": null,
        "email": "ad@ma.com"
    }
    REST API 會以 HTTP 回應碼回應每個要求。有關響應代碼的詳細信息,請參見 API 回應碼
傳送意見反饋