Polkit.UnixUser¶
- Subclasses:
None
Methods¶
- Inherited:
- Structs:
class |
|
class |
|
|
|
|
|
|
Virtual Methods¶
- Inherited:
Properties¶
Name |
Type |
Flags |
Short Description |
---|---|---|---|
r/w/c |
The UNIX user ID |
Signals¶
- Inherited:
Fields¶
- Inherited:
Class Details¶
- class Polkit.UnixUser(**kwargs)¶
- Bases:
- Abstract:
No
- Structure:
An object representing a user identity on a UNIX system.
- classmethod new(uid)¶
- Parameters:
uid (
int
) – A UNIX user id.- Returns:
A
Polkit.UnixUser
object. Free withGObject.Object.unref
().- Return type:
Creates a new
Polkit.UnixUser
object for uid.
- classmethod new_for_name(name)¶
- Parameters:
name (
str
) – A UNIX user name.- Raises:
- Returns:
A
Polkit.UnixUser
object orNone
if error is set.- Return type:
Creates a new
Polkit.UnixUser
object for a user with the user name name.
- get_name()¶
-
Get the user’s name.