GetSecurityInfoPreference
Queries the security information management preferences of a directory.
Operation description
CloudSSO administrators can call this operation to query the security information management preferences of a specified directory and check whether CloudSSO users in the directory are allowed to manage their security email addresses in the CloudSSO user portal. This topic provides an example to query the security information management preferences of the directory d-00fc2p61****.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
cloudsso:GetSecurityInfoPreference |
get |
*Directory
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| DirectoryId |
string |
Yes |
The directory ID. |
d-00fc2p61**** |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response. |
||
| RequestId |
string |
The request ID. |
8CE8B990-193D-50CE-A604-69F3E7DCE740 |
| SecurityInfoPreference |
object |
The security information management preferences. |
|
| AllowUserManageSecurityEmail |
boolean |
Indicates whether CloudSSO users in the directory are allowed to manage their security email addresses in the CloudSSO user portal. Valid values:
|
false |
Examples
Success response
JSON format
{
"RequestId": "8CE8B990-193D-50CE-A604-69F3E7DCE740",
"SecurityInfoPreference": {
"AllowUserManageSecurityEmail": false
}
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.