addGroupMember

Syntax

addGroupMember(userIds, groupIds)

Arguments

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

groupIds 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. This can only be executed by an administrator on the controller.

Examples

$ addGroupMember(`AlexSmith`JoshAllen, `production);