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