8.7

Table Of Contents
RepoObject.AddGroup("MyGroup",'["FirstKey", "SecondKey"]');
RepoObject.AddGroup("MyGroup","[\"FirstKey\", \"SecondKey\"]");
But the following is incorrect:
RepoObject.AddGroup("MyGroup","['FirstKey', 'SecondKey']");
Many methods require using the JSONStringArray type but JSON is not natively supported in
VB Script. Therefore, for those methods, only JavaScript sample code is provided. There are
many resources on the Web that propose ways of implementing JSON parsing in VB Script so
you can implement whichever you see fit. However, using JavaScript is highly recommended.
Group methods
Name Description
AddGroup
Creates a group named GroupName and optionally creates
keys listed in keyNames. The keyNames parameter may be
empty.
RemoveGroup
Deletes the group named GroupName, along with all its
keysets and keys.
ListGroups
Retrieves the list of all group names in the Repository,
stored in a JSONStringArray..
RenameGroup
Renames group oldName to newName. While this
operation has no impact on the data stored in the specified
group, it does require any plugin and/or script that uses
oldName to be modified to refer to newName.
Key Methods
Name Description
AddKey
Adds key KeyName to group GroupName. KeyName must
not already exist in the specified group. Note that this method
only adds a key name to the group, not a key value. See
Page 122