Skip to contents

Adds an existing user to a group by creating a group membership.

Usage

addGroupUser(groupId, userId)

Arguments

groupId

Character. The ID of the group.

userId

Character. The ID of the user to add.

Value

A list of the user's group memberships after the addition, or NULL on failure.

Examples

if (FALSE) { # \dontrun{
addGroupUser("group-id", "user-id")
} # }