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.UnixGroupobject. Free withGObject.Object.unref().- Return type:
Creates a new
Polkit.UnixGroupobject for gid.
- classmethod new_for_name(name)¶
- Parameters:
name (
str) – A UNIX group name.- Raises:
- Returns:
A
Polkit.UnixGroupobject orNoneif error is set.- Return type:
Creates a new
Polkit.UnixGroupobject for a group with the group name name.