Queries the list of all RAM users.


OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer. OpenAPI Explorer dynamically generates the sample code of the operation for different SDKs.

Request parameters

Parameter Type Required Example Description
Action String Yes ListUsers

The operation that you want to perform. Set the value to ListUsers.

Marker String No EXAMPLE

The marker. If part of a previous response is truncated, you can use this parameter to obtain the truncated part.

MaxItems Integer No 100

The number of entries to return. If a response is truncated because it reaches the value of MaxItems, the value of IsTruncated will be true.

Valid values: 1 to 100. Default value: 100.

Response parameters

Parameter Type Example Description
IsTruncated Boolean true

Indicates whether the response is truncated.

Marker String EXAMPLE

The marker. This parameter is returned only if the value of IsTruncated is true. If the parameter is returned, you can call this operation again and set the Marker parameter to obtain the truncated part.

RequestId String 4B450CA1-36E8-4AA2-8461-86B42BF4CC4E

The ID of the request.

Users Array

The list of RAM users.

Comments String Cloud computing engineer

The description of the RAM user.

CreateDate String 2015-01-23T12:33:18Z

The time when the RAM user was created.

DisplayName String Zhangq****

The display name of the RAM user.

Email String zhangq****@example.com

The email address of the RAM user.

Note This parameter is not available.
MobilePhone String 86-1860000****

The mobile phone number of the RAM user.

Note This parameter is not available.
UpdateDate String 2015-01-23T12:33:18Z

The time when the RAM user was modified.

UserId String 122748924538****

The unique ID of the RAM user.

UserName String zhangq****

The username of the RAM user.


Sample requests

&<Common request parameters>

Sample success responses

XML format

                  <Comments>Cloud computing engineer</Comments>
                  <Comments>Permission manager</Comments>

JSON format

    "RequestId": "4B450CA1-36E8-4AA2-8461-86B42BF4CC4E",
    "IsTruncated": true,
    "Marker": "EXAMPLE",
    "Users": {
        "User": [
                "UserId": "122748924538****",
                "UserName": "zhangq****",
                "DisplayName": "Zhangq****",
                "Comments": "Cloud computing engineer",
                "CreateDate": "2015-01-23T12:33:18Z",
                "UpdateDate": "2015-01-23T12:33:18Z"
                "UserId": "140649822472****",
                "UserName": "li****",
                "DisplayName": "Li****",
                "Comments": "Permission manager",
                "CreateDate": "2015-02-18T17:22:08Z",
                "UpdateDate": "2015-02-18T17:22:08Z"

Error codes

For a list of error codes, visit the API Error Center.