Add User To Group
iam_add_user_to_group | R Documentation |
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: _+=,.@- |
Value¶
An empty list.
Request syntax¶
svc$add_user_to_group(
GroupName = "string",
UserName = "string"
)
Examples¶
## Not run:
# The following command adds an IAM user named Bob to the IAM group named
# Admins:
svc$add_user_to_group(
GroupName = "Admins",
UserName = "Bob"
)
## End(Not run)