removeUsersFromGroup

Back to index

Summary

Removes one or more users from an existing local group.
groupName
Stringrequired
Name of the group; must be unique among local groups.
userNames
Collectionoptional
List of users to add/remove from the group.

Usage

Perl

$cmdr->removeUsersFromGroup( "test-groupName" # groupName # optionals );

ectool

ectool removeUsersFromGroup \ "test-groupName" `# groupName` \ # optionals

Examples

Perl

$cmdr->removeUsersFromGroup("Developers", {userName => ["John", "Jim", "Joey"]});

ectool

ectool removeUsersFromGroup Developers --userNames John Jim Joey