Learn R Programming

paws.security.identity (version 0.1.0)

iam_add_user_to_group: Adds the specified user to the specified group

Description

Adds the specified user to the specified group.

Usage

iam_add_user_to_group(GroupName, UserName)

Arguments

GroupName

[required] The name of the group to update.

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

UserName

[required] The name of the user to add.

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$add_user_to_group(
  GroupName = "string",
  UserName = "string"
)

Examples

Run this code
# NOT RUN {
# The following command adds an IAM user named Bob to the IAM group named
# Admins:
# }
# NOT RUN {
svc$add_user_to_group(
  GroupName = "Admins",
  UserName = "Bob"
)
# }
# NOT RUN {
# }

Run the code above in your browser using DataLab