Memeriksa apakah Autentikasi Multi-Faktor (MFA) diaktifkan untuk pengguna.
Deskripsi operasi
This topic provides an example on how to check whether MFA is enabled for users in the directory whose ID is d-00fc2p61****. The returned result shows that MFA is in the Enabled state.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
cloudsso:GetMFAAuthenticationStatus |
get |
*Directory
|
None | None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| DirectoryId |
string |
Yes |
ID direktori. |
d-00fc2p61**** |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
The response parameters. |
||
| RequestId |
string |
The request ID. |
5E688346-DF1A-5537-9BFC-8A9974D29586 |
| MFAAuthenticationStatus |
string |
Indicates whether MFA is enabled for users. Valid values:
|
Enabled |
Contoh
Respons sukses
JSONformat
{
"RequestId": "5E688346-DF1A-5537-9BFC-8A9974D29586",
"MFAAuthenticationStatus": "Enabled"
}
Kode kesalahan
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.