ListUsers
Queries the details of all Resource Access Management (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 |
If the response is truncated, you can use the Marker parameter to retrieve the remaining items. |
EXAMPLE |
| MaxItems |
integer |
No |
The maximum number of entries to return. If the response is truncated because the maximum number of entries is reached, the IsTruncated response parameter is set to true. Valid values: 1 to 1000. Default value: 100. |
100 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response. |
||
| RequestId |
string |
The ID of the request. |
4B450CA1-36E8-4AA2-8461-86B42BF4CC4E |
| IsTruncated |
boolean |
Indicates whether the response is truncated. |
true |
| Marker |
string |
The marker. This parameter is returned only when IsTruncated is true. If IsTruncated is true, you must call this operation again and use the Marker value to retrieve the remaining items. |
EXAMPLE |
| Users |
object |
||
| User |
array<object> |
The list of Resource Access Management (RAM) users. |
|
|
object |
The Resource Access Management (RAM) user information. |
||
| DisplayName |
string |
The display name of the Resource Access Management (RAM) user. |
Zhang* |
|
string |
The mailbox of the Resource Access Management (RAM) user. Note
This parameter is not provided. |
zhangq****@example.com |
|
| UpdateDate |
string |
The time when the Resource Access Management (RAM) user was updated. The time is displayed in UTC. |
2015-01-23T12:33:18Z |
| MobilePhone |
string |
The mobile phone number of the Resource Access Management (RAM) user. Note
This parameter is not provided. |
86-1860000**** |
| UserId |
string |
The ID of the Resource Access Management (RAM) user. |
20732900249392**** |
| Comments |
string |
The comments. |
This is a cloud computing engineer. |
| CreateDate |
string |
The time when the Resource Access Management (RAM) user was created. The time is displayed in UTC. |
2015-01-23T12:33:18Z |
| UserName |
string |
The logon name of the Resource Access Management (RAM) user. |
zhangq**** |
Examples
Success response
JSON format
{
"RequestId": "4B450CA1-36E8-4AA2-8461-86B42BF4CC4E",
"IsTruncated": true,
"Marker": "EXAMPLE",
"Users": {
"User": [
{
"DisplayName": "张*",
"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.