system.groups.removeGroups
This function is used in Python Scripting.
Description​
Removes the specified groups from the project. The group paths are "Folder/Path/To/GroupName", separated by forward slashes.
Client Permission Restrictions​
This scripting function has no Client Permission restrictions.
Syntax​
system.groups.removeGroups(projectName, paths)
Parameters​
Type | Parameter | Description |
---|---|---|
String | projectName | The project to remove from. If the project does not exist, throws an IllegalArgumentException. |
PySequence | paths | A collection of paths to remove. The group paths are "Folder/Path/To/GroupName", separated by forward slashes. |
Returns​
Nothing
Scope​
Gateway
Code Examples​
Example #1
projName = "MyProject"
groups = ["Historical/Group1","DataSync/Group2"]
system.groups.removeGroups(projName, groups)