User account information of the underlying OS.
More...
#include <user_info.hpp>
User account information of the underlying OS.
Definition at line 42 of file user_info.hpp.
◆ id_t
◆ UserInfo() [1/3]
Create instance of the user executing this application.
Definition at line 191 of file user_info.cpp.
◆ UserInfo() [2/3]
UserInfo::UserInfo |
( |
id_t |
uid | ) |
|
|
noexcept |
Create instance of the given user id.
Definition at line 198 of file user_info.cpp.
◆ UserInfo() [3/3]
UserInfo::UserInfo |
( |
const std::string & |
username | ) |
|
|
noexcept |
Create instance of the given user name.
Definition at line 206 of file user_info.cpp.
◆ isValid()
bool jau::os::UserInfo::isValid |
( |
| ) |
const |
|
inlinenoexcept |
◆ uid()
id_t jau::os::UserInfo::uid |
( |
| ) |
const |
|
inlinenoexcept |
◆ gid()
id_t jau::os::UserInfo::gid |
( |
| ) |
const |
|
inlinenoexcept |
◆ username()
const std::string & jau::os::UserInfo::username |
( |
| ) |
const |
|
inlinenoexcept |
◆ homedir()
const std::string & jau::os::UserInfo::homedir |
( |
| ) |
const |
|
inlinenoexcept |
◆ shell()
const std::string & jau::os::UserInfo::shell |
( |
| ) |
const |
|
inlinenoexcept |
◆ groups()
const std::vector< id_t > & jau::os::UserInfo::groups |
( |
| ) |
const |
|
inlinenoexcept |
◆ toString()
std::string jau::os::UserInfo::toString |
( |
| ) |
const |
|
inlinenoexcept |
The documentation for this class was generated from the following files: