Queries the multi-factor authentication (MFA) setting of all users.
Operation description
This operation is no longer maintained and updated. You can call the GetMFAAuthenticationSettingInfo operation to query more detailed information.
The following example queries the MFA setting of users in the directory d-00fc2p61****. The response shows that MFA is enabled for all users.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
cloudsso:GetMFAAuthenticationSettings |
get |
*Directory
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| DirectoryId |
string |
Yes |
The ID of the CloudSSO directory. |
d-00fc2p61**** |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The data returned. |
||
| RequestId |
string |
The request ID. |
A2BC00C5-76A2-5FFC-A340-927940A98377 |
| MFAAuthenticationAdvanceSettings |
string |
Indicates whether MFA is enabled for all users. Valid values:
|
Enabled |
Examples
Success response
JSON format
{
"RequestId": "A2BC00C5-76A2-5FFC-A340-927940A98377",
"MFAAuthenticationAdvanceSettings": "Enabled"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.