Queries the information about all RAM users.
Try it now
Test
RAM authorization
Action | Access level | Resource type | Condition key | Dependent action |
ram:ListUsers | get | *User
| None | None |
Request parameters
Parameter | Type | Required | Description | Example |
Marker | string | No | The | EXAMPLE |
MaxItems | integer | No | The number of entries per page. If a response is truncated because it reaches the value of MaxItems, the value of Valid values: 1 to 1000. Default value: 100. | 100 |
Response elements
Element | Type | Description | Example |
object | The response parameters. | ||
RequestId | string | The request ID. | 4B450CA1-36E8-4AA2-8461-86B42BF4CC4E |
IsTruncated | boolean | Indicates whether the response is truncated. | true |
Marker | string | The marker. This parameter is returned only if the value of | EXAMPLE |
| Users | object | ||
| User | array<object> | The RAM users. | |
object | The list of RAM users. | ||
DisplayName | string | The display name of the RAM user. | Alice |
string | The email address of the RAM user. Note This parameter is unavailable. | zhangq****@example.com | |
UpdateDate | string | The point in time when the information about the RAM user was last modified. The time is displayed in UTC. | 2015-01-23T12:33:18Z |
MobilePhone | string | The mobile phone number of the RAM user. Note This parameter is unavailable. | 86-1860000**** |
UserId | string | The ID of the RAM user. | 20732900249392**** |
Comments | string | The description. | This is a cloud computing engineer. |
CreateDate | string | The time when the RAM user was created. The time is displayed in UTC. | 2015-01-23T12:33:18Z |
UserName | string | The logon name of the RAM user. | zhangq**** |
Examples
Success response
JSON format
{
"RequestId": "4B450CA1-36E8-4AA2-8461-86B42BF4CC4E",
"IsTruncated": true,
"Marker": "EXAMPLE",
"Users": {
"User": [
{
"DisplayName": "Alice",
"Email": "zhangq****@example.com",
"UpdateDate": "2015-01-23T12:33:18Z",
"MobilePhone": "86-1860000****",
"UserId": "20732900249392****",
"Comments": "This is a cloud computing engineer.",
"CreateDate": "2015-01-23T12:33:18Z",
"UserName": "zhangq****"
}
]
}
}Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.