Tek bir kullanıcının çok faktörlü kimlik doğrulama (MFA) ayarını sorgular.
Operation description
Bu konu, u-00q8wbq42wiltcrk**** adlı kullanıcının MFA ayarının nasıl sorgulanacağına dair bir örnek sunar. Döndürülen sonuç, kullanıcı için MFA'nın etkinleştirildiğini gösterir.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
cloudsso:GetUserMFAAuthenticationSettings |
get |
*User
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| UserId |
string |
Yes |
Kullanıcı kimliği. |
u-00q8wbq42wiltcrk**** |
| DirectoryId |
string |
Yes |
Dizin kimliği. |
d-00fc2p61**** |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
Yanıt parametresi. |
||
| RequestId |
string |
İstek kimliği. |
5B598B62-85E6-5792-9DF1-246D251B07DA |
| UserMFAAuthenticationSettings |
string |
Kullanıcı için MFA'nın etkinleştirilip etkinleştirilmediğini gösterir. Geçerli değerler:\n\n* Enabled\n* Disabled. |
Enabled |
Examples
Success response
JSON format
{
"RequestId": "5B598B62-85E6-5792-9DF1-246D251B07DA",
"UserMFAAuthenticationSettings": "Enabled"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.