createGroup

Syntax

createGroup(groupId, [userIds])

Arguments

groupId a string indicating a group name.

userId a string scalar/vector indicating the user names of the group members.

Details

Create a group of users. This can only be executed by an administrator on the controller.

The users in userIds must have been created with createUser.

Examples

Create a group “production”, and add a user with user name “JohnSmith”.

$ createGroup(`production, `JohnSmith);