Skip to contents

Check if a user exists

Usage

aws_user_exists(username)

Arguments

username

(character) the user name

Value

a single boolean

Details

uses aws_user() internally. see docs https://www.paws-r-sdk.com/docs/iam_get_user/

Examples

if (FALSE) {
aws_user_exists(aws_user_current())
aws_user_exists("blueberry")
}