OpenMediaVault
0.6 (Kralizec)
The open network attached storage solution
|
Public Member Functions | |
__construct ($id) | |
exists () | |
getName () | |
getUid () | |
getGid () | |
getGecos () | |
getHomeDirectory () | |
getShell () | |
getPassword () | |
getLastChanged () | |
getMinimum () | |
getMaximum () | |
getWarn () | |
getInactive () | |
getExpire () | |
getReserved () | |
getGroups () | |
getQuotas () | |
authenticate ($password) | |
![]() | |
__construct () | |
getLastError () | |
Additional Inherited Members | |
![]() | |
setLastError ($error) | |
debug () | |
This class provides a simple interface to handle a system user.
OMVUser::__construct | ( | $id | ) |
Constructor
id | The name or UID of the system user. |
OMVUser::authenticate | ( | $password | ) |
Authenticate user via PAM. Account expiration and access hours are checked, too. Note, the calling process must have the privilege to read the user shadow file.
password | The password. |
OMVUser::exists | ( | ) |
Check whether the system user exists.
OMVUser::getGecos | ( | ) |
Get the comment.
OMVUser::getGid | ( | ) |
Get the users group ID.
OMVUser::getGroups | ( | ) |
Get the groups the user is in.
OMVUser::getHomeDirectory | ( | ) |
Get the home directory.
OMVUser::getName | ( | ) |
Get the group name.
OMVUser::getPassword | ( | ) |
Get the encrypted password.
OMVUser::getQuotas | ( | ) |
Get the user quotas.
OMVUser::getShell | ( | ) |
Get the shell.
OMVUser::getUid | ( | ) |
Get the user ID.