paws.security.identity (version 0.1.0)

iam_get_login_profile: Retrieves the user name and password-creation date for the specified IAM user

Description

Retrieves the user name and password-creation date for the specified IAM user. If the user has not been assigned a password, the operation returns a 404 (NoSuchEntity) error.

Usage

iam_get_login_profile(UserName)

Arguments

UserName

[required] The name of the user whose login profile you want to retrieve.

This parameter allows (through its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: \_+=,.@-

Request syntax

svc$get_login_profile(
  UserName = "string"
)

Examples

Run this code
# NOT RUN {
# The following command gets information about the password for the IAM
# user named Anika.
# }
# NOT RUN {
svc$get_login_profile(
  UserName = "Anika"
)
# }
# NOT RUN {
# }

Run the code above in your browser using DataCamp Workspace