removeGroup
Syntax | removeGroup(groupName) | Package | |
Alias | Pkg Usage |
Description
Remove a group.
Parameters
Parameter name | Type | Required | Description |
|---|---|---|---|
groupName | String | Yes | The name of a group to be deleted. |
Return Type
Boolean (true/false)
Returns true if a certain group was successfully deleted.
Example
Remove a group.
removeGroup("creative-users");If the routine returns false, it doesn't mean that a group wasn't deleted. It just means that the group doesn't exist.
