AddGroup

Creates a group named GroupName and optionally creates keys listed in keyNames. The keyNames parameter may be empty.

Syntax

​AddGroup(GroupName: string, keyNames: JSONStringArray)

Examples

In each of these examples, the object repoObject is deemed having been obtained through a call to the COM object "RepositoryLib.WorkflowRepository" (see Obtaining an instance of the Repository Object).

JavaScript

repoObject.AddGroup("Users", '["FirstName", "LastName"]');
repoObject.AddGroup("Users", '');

VB Script

repoObject.AddGroup "Users", "[""FirstName"", ""LastName""]"
repoObject.AddGroup "Users", ""