UNIX user identity.
More...
#include <Identity>
UNIX user identity.
An object representing a user identity on a UNIX system.
- See also
- Identity
◆ UnixUserIdentity() [1/3]
PolkitQt1::UnixUserIdentity::UnixUserIdentity |
( |
uid_t |
uid | ) |
|
|
explicit |
Creates UnixUser object by UID of the user
- Parameters
-
◆ UnixUserIdentity() [2/3]
PolkitQt1::UnixUserIdentity::UnixUserIdentity |
( |
const QString & |
name | ) |
|
|
explicit |
Creates UnixUser object by unix name of the user
- Parameters
-
◆ UnixUserIdentity() [3/3]
PolkitQt1::UnixUserIdentity::UnixUserIdentity |
( |
PolkitUnixUser * |
pkUnixUser | ) |
|
|
explicit |
Creates UnixUser object from PolkitUnixUser object
- Warning
- Use this only if you are completely aware of what are you doing!
- Parameters
-
pkUnixUser | The PolkitUnixUser object |
◆ setUid()
void PolkitQt1::UnixUserIdentity::setUid |
( |
uid_t |
uid | ) |
|
Sets the id of user
- Parameters
-
◆ uid()
uid_t PolkitQt1::UnixUserIdentity::uid |
( |
| ) |
const |
Gets an user id
- Returns
- user id
The documentation for this class was generated from the following files: