All Products
Search
Document Center

Alibaba Cloud Service Mesh:DescribeUsersWithPermissions

Last Updated:Mar 05, 2024

Queries the IDs of all RAM users or RAM roles to which a Role-based Access Control (RBAC) role is assigned.

Debugging

OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer.

Authorization information

There is currently no authorization information disclosed in the API.

Request parameters

ParameterTypeRequiredDescriptionExample
UserTypestringYes

Specifies whether to query the IDs of all RAM users or RAM roles to which an RBAC role is assigned. Valid values:

  • SubUser: Query the IDs of all RAM users to which an RBAC role is assigned.
  • RamRole: Query the IDs of all RAM roles to which an RBAC role is assigned.
SubUser

Response parameters

ParameterTypeDescriptionExample
object
RequestIdstring

The request ID.

12B94024-C241-13CD-BA44-6106DF1****
UIDsarray

The list of the IDs of the RAM users or RAM roles to which an RBAC role is assigned.

string

The ID of a RAM user or RAM role to which an RBAC role is assigned.

2940213405997****

Examples

Sample success responses

JSONformat

{
  "RequestId": "12B94024-C241-13CD-BA44-6106DF1****",
  "UIDs": [
    "2940213405997****"
  ]
}

Error codes

For a list of error codes, visit the Service error codes.

Change history

Change timeSummary of changesOperation
2022-01-12Add Operationsee changesets