Mengkueri Pengguna Resource Access Management (RAM) dalam kelompok Pengguna RAM.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
ram:ListUsersForGroup |
list |
*Group
|
None | None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| GroupName |
string |
No |
Nama kelompok Pengguna RAM. |
Test-Team |
| Marker |
string |
No |
Token paginasi yang digunakan di permintaan berikutnya untuk mengambil halaman hasil baru. Anda tidak perlu menentukan parameter ini untuk permintaan pertama.`` Saat Anda memanggil operasi untuk pertama pengatur waktu, jika jumlah total entri yang dikembalikan melebihi nilai |
EXAMPLE |
| MaxItems |
integer |
No |
Jumlah entri per halaman. Nilai valid: 1 hingga 100. Nilai default: 100. |
100 |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
The response parameters. |
||
| RequestId |
string |
The request ID. |
789FF581-B3C8-43A8-9115-54304B46D05C |
| IsTruncated |
boolean |
Indicates whether the response is truncated. Valid values:
|
true |
| Marker |
string |
The pagination token that is used in the next request to retrieve a new page of results. Catatan
This parameter is returned only when |
EXAMPLE |
| Users |
object |
||
| User |
array<object> |
The information about the RAM users. |
|
|
object |
|||
| UserPrincipalName |
string |
The logon name of the RAM user. |
test@example.onaliyun.com |
| DisplayName |
string |
The display name of the RAM user. |
test |
| UserId |
string |
The ID of the RAM user. |
20732900249392**** |
| JoinDate |
string |
The time when the RAM user was added to the RAM user group. The time is displayed in UTC. |
2020-10-20T06:57:00Z |
Contoh
Respons sukses
JSONformat
{
"RequestId": "789FF581-B3C8-43A8-9115-54304B46D05C",
"IsTruncated": true,
"Marker": "EXAMPLE",
"Users": {
"User": [
{
"UserPrincipalName": "test@example.onaliyun.com",
"DisplayName": "test",
"UserId": "20732900249392****",
"JoinDate": "2020-10-20T06:57:00Z"
}
]
}
}
Kode kesalahan
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.