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