通过执行arc-cs permission get <uid>命令查询指定用户的集群权限,uid可以是RAM用户的ID,也可以是RAM角色的ID。

关于该命令的详细参数说明,请参见查询RAM用户集群授权信息

CLI示例

请求示例:
arc-cs permission get 24034582727787****
返回结果示例:
[
  {
    "resourceId": "c09665845208b4fc2992b335be08b****",
    "resourceType": "cluster",
    "roleName": "",
    "roleType": "admin"
  },
  {
    "resourceId": "c3a29be5cd0ec4b0390d72d9d3be6****",
    "resourceType": "cluster",
    "roleName": "",
    "roleType": "admin"
  },
  {
    "resourceId": "c77cef6412922423a9d17a4452b17****",
    "resourceType": "cluster",
    "roleName": "",
    "roleType": "admin"
  },
  {
    "resourceId": "cca4bbb9654954e84a3182d89c579****",
    "resourceType": "cluster",
    "roleName": "",
    "roleType": "admin"
  }
]