openmediavault
4.0 (Arrakis)
The open network attached storage solution
|
Public Member Functions | |
__construct ($id) | |
refresh () | |
exists () | |
assertExists () | |
assertNotExists () | |
getName () | |
getGid () | |
getMembers () | |
getQuotas () | |
isSystemAccount () | |
Static Public Member Functions | |
static | getGroups () |
Protected Attributes | |
$name = NULL | |
$gid = NULL | |
$members = NULL | |
This class provides a simple interface to handle a system group.
OMV\System\Group::__construct | ( | $id | ) |
Constructor
id | The name or GID of the system group. |
OMV\System\Group::assertExists | ( | ) |
Assert that the system group exists.
OMV\System\Group::assertNotExists | ( | ) |
Assert that the system group not exists.
OMV\System\Group::exists | ( | ) |
Check whether the system group exists.
OMV\System\Group::getGid | ( | ) |
Get the group ID.
|
static |
Enumerate group names.
OMV\System\Group::getMembers | ( | ) |
Get the user names who are member of this group.
OMV\System\Group::getName | ( | ) |
Get the group name.
OMV\System\Group::getQuotas | ( | ) |
Get the group quotas.
OMV\System\Group::isSystemAccount | ( | ) |
Check if the given group is a system account.
OMV\System\Group::refresh | ( | ) |
Refresh the cached information.