Mengkueri aplikasi yang dapat diakses oleh akun EIAM dan mengembalikan daftar ID aplikasi yang dipaginasi. Untuk mengambil informasi detail tentang aplikasi tertentu, panggil operasi GetApplication.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
eiam:ListApplicationsForUser |
list |
*User
|
None | None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| InstanceId |
string |
Yes |
ID instans. |
idaas_ue2jvisn35ea5lmthk267xxxxx |
| PageNumber |
integer |
No |
Nomor halaman. |
1 |
| PageSize |
integer |
No |
Jumlah entri per halaman. |
20 |
| ApplicationIds |
array |
No |
Daftar ID aplikasi. Anda dapat menentukan hingga 100 ID aplikasi dalam satu permintaan. |
app_mkv7rgt4d7i4u7zqtzev2mxxxx |
|
string |
No |
The application ID. |
app_mkv7rgt4d7i4u7zqtzev2mxxxx |
|
| UserId |
string |
Yes |
ID akun. |
user_d6sbsuumeta4h66ec3il7yxxxx |
| QueryMode |
string |
No |
Mode kueri. Nilai default: OnlyDirect. Nilai valid:
|
OnlyDirect |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
The response. |
||
| RequestId |
string |
The request ID. |
0441BD79-92F3-53AA-8657-F8CE4A2B912A |
| TotalCount |
integer |
The total number of entries. |
100 |
| Applications |
array<object> |
The list of applications that the account is authorized to access. |
|
|
array<object> |
The application that the account is authorized to access. |
||
| ApplicationId |
string |
The application ID. |
app_mkv7rgt4d7i4u7zqtzev2mxxxx |
| HasDirectAuthorization |
boolean |
Indicates whether a direct authorization exists. Valid values:
|
true |
| HasInheritAuthorization |
boolean |
Indicates whether an inherited authorization exists. Valid values:
|
false |
| ApplicationRoles |
array<object> |
The list of application roles. |
|
|
object |
|||
| ApplicationRoleId |
string |
应用角色标识。 |
app_role_mkv7rgt4ds8d8v0qtzev2mxxxx |
| HasDirectAuthorization |
boolean |
直接分配给当前用户的权限,视为直接授权。 |
true |
| HasInheritAuthorization |
boolean |
通过用户隶属的组织、组获取的权限,视为继承权限。 |
false |
Contoh
Respons sukses
JSONformat
{
"RequestId": "0441BD79-92F3-53AA-8657-F8CE4A2B912A",
"TotalCount": 100,
"Applications": [
{
"ApplicationId": "app_mkv7rgt4d7i4u7zqtzev2mxxxx",
"HasDirectAuthorization": true,
"HasInheritAuthorization": false,
"ApplicationRoles": [
{
"ApplicationRoleId": "app_role_mkv7rgt4ds8d8v0qtzev2mxxxx",
"HasDirectAuthorization": true,
"HasInheritAuthorization": false
}
]
}
]
}
Kode kesalahan
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.