A group of users and the rights associated with them.
More...
#include <user_rights.h>
|
| UserRights (const std::vector< std::string > &users, const std::vector< std::string > &rights) |
| UserRights constructor.
|
|
const std::vector< std::string > & | Users () const |
| Gets users associated with a set of rights.
|
|
const std::vector< std::string > & | Rights () const |
| Gets rights associated with a group of users.
|
|
|
std::vector< std::string > | mUsers |
|
std::vector< std::string > | mRights |
|
A group of users and the rights associated with them.
◆ UserRights()
UserRights::UserRights |
( |
const std::vector< std::string > & | users, |
|
|
const std::vector< std::string > & | rights ) |
|
inline |
UserRights constructor.
- Parameters
-
users | Group of users that share the same rights |
rights | Rights shared by group of users |
◆ Rights()
const std::vector< std::string > & UserRights::Rights |
( |
| ) |
const |
|
inline |
Gets rights associated with a group of users.
- Returns
- Rights associated with a group of users
◆ Users()
const std::vector< std::string > & UserRights::Users |
( |
| ) |
const |
|
inline |
Gets users associated with a set of rights.
- Returns
- Users associated with a set of rights
◆ mRights
std::vector<std::string> UserRights::mRights |
|
private |
◆ mUsers
std::vector<std::string> UserRights::mUsers |
|
private |
The documentation for this class was generated from the following file: