Mengkueri informasi tentang semua Pengguna RAM.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
ram:ListUsers |
get |
*User
|
None | None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| Marker |
string |
No |
marker. Jika sebagian tanggapan sebelumnya terpotong, Anda dapat menggunakan parameter ini untuk mendapatkan bagian yang terpotong. |
EXAMPLE |
| MaxItems |
integer |
No |
Jumlah entri per halaman. Jika tanggapan terpotong karena mencapai nilai MaxItems, nilai IsTruncated akan menjadi true. Nilai valid: 1 hingga 1000. Nilai default: 100. |
100 |
Elemen respons
|
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. |
张* |
|
string |
The email address of the RAM user. Catatan
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. Catatan
This parameter is unavailable. |
86-1860000**** |
| UserId |
string |
The ID of the RAM user. |
20732900249392**** |
| Comments |
string |
The description. |
这是一位云计算工程师 |
| 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**** |
Contoh
Respons sukses
JSONformat
{
"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": "这是一位云计算工程师",
"CreateDate": "2015-01-23T12:33:18Z",
"UserName": "zhangq****"
}
]
}
}
Kode kesalahan
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.