Group
Less than 1 minute
Group
interface GroupMethods
listGroups
List all groups.
public listGroups(): arrayReturns: array
createGroup
Create a new group.
public createGroup(string $groupName): boolReturns: bool
Parameters
| Parameter | Type | Description |
|---|---|---|
$groupName | string |
dropGroup
Drop a group.
public dropGroup(string $groupName): boolReturns: bool
Parameters
| Parameter | Type | Description |
|---|---|---|
$groupName | string |
addToGroup
Add a role to a group.
public addToGroup(string $roleName, string $parentRoleName): boolReturns: bool
Parameters
| Parameter | Type | Description |
|---|---|---|
$roleName | string | |
$parentRoleName | string |
removeFromGroup
Remove a role from a group.
public removeFromGroup(string $roleName, string $parentRoleName): boolReturns: bool
Parameters
| Parameter | Type | Description |
|---|---|---|
$roleName | string | |
$parentRoleName | string |
Generated by Hazaar API Doc Generator on Fri, 04 Sep 2026 23:32:16 +0000