Invokes the GetLoginProfile operation to view the logon configuration of a Resource Access Management (RAM) user.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
ram:GetLoginProfile |
get |
*User
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| UserName |
string |
No |
The username. |
zhangq**** |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The return value. |
||
| RequestId |
string |
The request ID. |
04F0F334-1335-436C-A1D7-6C044FE73368 |
| LoginProfile |
object |
The logon configuration information. |
|
| PasswordResetRequired |
boolean |
Indicates whether the user must reset the password at the next logon. |
true |
| CreateDate |
string |
The creation time in UTC. Format: |
2015-01-23T12:33:18Z |
| UserName |
string |
The username. |
zhangq**** |
| MFABindRequired |
boolean |
Indicates whether the user must bind a multi-factor authentication device. |
true |
Examples
Success response
JSON format
{
"RequestId": "04F0F334-1335-436C-A1D7-6C044FE73368",
"LoginProfile": {
"PasswordResetRequired": true,
"CreateDate": "2015-01-23T12:33:18Z",
"UserName": "zhangq****",
"MFABindRequired": true
}
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.