阅读和查看 Automation Anywhere 文档

Automation Anywhere Automation 360

关闭内容

内容

打开内容

检索特定用户详细信息 API

  • 已更新:1/28/2021
    • Automation 360 v.x
    • 管理
    • RPA 工作区
    • API 文档

检索特定用户详细信息 API

使用获取用户详细信息 API 检索 Control Room 中的特定用户详细信息。

先决条件

确保您具有管理员角色或具有查看用户权限的自定义角色。

过程

  1. 将认证令牌添加到请求标头。
  2. 在请求标头中,添加要检索的特定用户 ID。
  3. 使用 GET 方法和端点 URL:<your_control_room_url>/v1/usermanagement/users/<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 响应代码
发送反馈