iam_add_user_to_group: Adds the specified user to the specified group

Description Usage Arguments Request syntax Examples

View source: R/iam_operations.R

Description

Adds the specified user to the specified group.

Usage

1
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: \_+=,[email protected]

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: \_+=,[email protected]

Request syntax

1
2
3
4
svc$add_user_to_group(
  GroupName = "string",
  UserName = "string"
)

Examples

1
2
3
4
5
6
# The following command adds an IAM user named Bob to the IAM group named
# Admins:
svc$add_user_to_group(
  GroupName = "Admins",
  UserName = "Bob"
)

paws.security.identity documentation built on Oct. 30, 2019, 11:26 a.m.