Mengkueri informasi tentang perangkat Autentikasi Multi-Faktor (MFA) yang terikat pada Pengguna RAM.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
ram:GetUserMFAInfo |
get |
*User
|
None | None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| UserPrincipalName |
string |
No |
Nama logon Pengguna RAM. Parameter ini diatur secara berbeda dalam skenario berikut:
|
test@example.onaliyun.com |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
|||
| MFADevice |
object |
The information about the MFA device. |
|
| SerialNumber |
string |
The serial number of the MFA device. |
acs:ram::177242285274****:mfa/device001 |
| Type |
string |
The type of the MFA device. Valid values:
|
VMFA |
| RequestId |
string |
The request ID. |
FCF7322A-20A9-4F68-8B7F-F86958839BC0 |
| IsMFAEnable |
boolean |
Indicates whether the MFA device is enabled. Valid values:
|
true |
Contoh
Respons sukses
JSONformat
{
"MFADevice": {
"SerialNumber": "acs:ram::177242285274****:mfa/device001",
"Type": "VMFA"
},
"RequestId": "FCF7322A-20A9-4F68-8B7F-F86958839BC0",
"IsMFAEnable": true
}
Kode kesalahan
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.