Group trustee.
More...
#include <base/security/Group.h>
Inherits Object.
Group trustee.
A group trustee.
- Version
- 1.2
- Examples
- testsuite/ls.cpp.
◆ Group() [1/6]
Initializes group as invalid.
◆ Group() [2/6]
Group::Group |
( |
unsigned long |
id | ) |
|
Initializes the group by id.
- Parameters
-
id | The identifier of the group. |
◆ Group() [3/6]
Group::Group |
( |
const void * |
id | ) |
|
Initializes the group by id.
- Parameters
-
id | The identifier of the group. |
◆ Group() [4/6]
Group::Group |
( |
const Group & |
copy | ) |
|
|
noexcept |
Initializes group from other group.
◆ Group() [5/6]
Group::Group |
( |
const String & |
name | ) |
|
Initializes the group by name.
- Parameters
-
name | The name of the group. |
◆ Group() [6/6]
Group::Group |
( |
const User & |
user | ) |
|
Initializes group as the primary group of the specified user.
◆ getId()
const void* Group::getId |
( |
| ) |
const |
|
inlinenoexcept |
Returns the id of the group.
◆ getIntegralId()
unsigned long Group::getIntegralId |
( |
| ) |
const |
|
inlinenoexcept |
Returns the integral id of the group.
◆ getMembers()
Returns the members of the group.
◆ getName()
String Group::getName |
( |
| ) |
const |
◆ isValid()
bool Group::isValid |
( |
| ) |
const |
|
inlinenoexcept |
Returns true if the group is initialized. This does not mean that the group exists.
◆ operator!=()
bool Group::operator!= |
( |
const Group & |
compare | ) |
const |
|
inlinenoexcept |
Returns false if the groups are not identical. The method returns false if both groups are invalid.
◆ operator=()
Assignment of group by group.
◆ operator==()
bool Group::operator== |
( |
const Group & |
compare | ) |
const |
|
noexcept |
Returns true if the groups are identical. The method returns true if both users are invalid.