addGroupMember

Syntax

addGroupMember(userIds, groupIds)

Arguments

userIds is a STRING scalar/vector indicating a user name or multiple user names.

groupIds is a STRING scalar/vector indicating a group name or multiple group names.

userIds and groupIds cannot both be vectors.

Details

Add a user to a group or multiple groups, or add multiple users to a group.

It can only be executed by an administrator.

Examples

addGroupMember(`AlexSmith`JoshAllen, `production);