| « PreviousNext » | |
![]() ![]() | Did this page help you? Yes | No | Tell us about it... |
Returns verification that a password exists for a specified user, or returns an error if the specified user does not have a password.
iam-usergetloginprofile -u
USERNAME
| Name | Description | Required |
|---|---|---|
|
|
Name of the user whose password you want to verify. Type: String Default: None |
Yes |
The output either returns a message verifying that a password exists for the specified user, or if the user has no password it returns an error message.
The following example returns output when a password exists for a user called John.
PROMPT> iam-usergetloginprofile -u John
Login Profile Exists for User JohnThe following example returns output when a password doesn't exist for a user called Jackie.
PROMPT> iam-usergetloginprofile -u Jackie
404 NoSuchEntity Cannot find Login Profile for User Jackie