getGroup

On this page
Back to index

Summary

Retrieves a group by its name.
groupName
Stringrequired
Name of the group; must be unique among local groups.
providerName
Stringoptional
The name of the provider from which to get the group.
traverseHierarchy
Booleanoptional
Set to 0 or true to include nested groups in the result if this is an LDAP group and recursive traversal of group hierarchy is enabled for the directory provider.

Usage

Groovy

import com.electriccloud.client.groovy.ElectricFlow import com.electriccloud.client.groovy.models.* ElectricFlow ef = new ElectricFlow() def result = ef.getGroup( groupName: "test-groupName" /* optional arguments */ )