Configures logon preferences for CloudSSO users.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
cloudsso:SetLoginPreference |
update |
*Directory
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| DirectoryId |
string |
Yes |
The ID of the directory. |
d-00fc2p61**** |
| LoginNetworkMasks |
string |
No |
The IP address whitelist. CloudSSO users can log on to the CloudSSO user portal only from IP addresses in the whitelist. Usage notes:
|
192.168.0.0/16;10.0.0.0/8 |
| AllowUserToGetCredentials |
boolean |
No |
Specifies whether a user can obtain the application access credential after logging on to the portal. Valid values:
|
True |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The returned result. |
||
| RequestId |
string |
The request ID. |
9B13E4EE-3853-5852-9165-597C32AD8FB7 |
Examples
Success response
JSON format
{
"RequestId": "9B13E4EE-3853-5852-9165-597C32AD8FB7"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.