Learn R Programming

paws.security.identity (version 0.1.12)

iam_remove_user_from_group: Removes the specified user from the specified group

Description

Removes the specified user from the specified group.

Usage

iam_remove_user_from_group(GroupName, UserName)

Value

An empty list.

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 remove.

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

Examples

Run this code
if (FALSE) {
# The following command removes the user named Bob from the IAM group
# named Admins.
svc$remove_user_from_group(
  GroupName = "Admins",
  UserName = "Bob"
)
}

Run the code above in your browser using DataLab