iam_get_login_profile: Retrieves the user name for the specified IAM user

View source: R/iam_operations.R

iam_get_login_profileR Documentation

Retrieves the user name for the specified IAM user

Description

Retrieves the user name for the specified IAM user. A login profile is created when you create a password for the user to access the Amazon Web Services Management Console. If the user does not exist or does not have a password, the operation returns a 404 (NoSuchEntity) error.

See https://www.paws-r-sdk.com/docs/iam_get_login_profile/ for full documentation.

Usage

iam_get_login_profile(UserName = NULL)

Arguments

UserName

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

This parameter is optional. If no user name is included, it defaults to the principal making the request. When you make this request with root user credentials, you must use an AssumeRoot session to omit the user name.

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: _+=,.@-


paws.security.identity documentation built on April 3, 2025, 10:59 p.m.