addUsersToGroup

On this page
Back to index

Summary

Adds one or more specified users to a local group.
groupName
Stringrequired
Name of the group; must be unique among local groups.
userNames
Array<Unknown>optional
List of users to add/remove from the group.

Usage

Groovy

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