Skip to main content
Version: 7.9

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

TypeParameterDescription
StringprojectNameThe project to remove from. If the project does not exist, throws an IllegalArgumentException.
PySequencepathsA 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)