Polkit.UnixNetgroup

g GObject.GInterface GObject.GInterface Polkit.Identity Polkit.Identity GObject.GInterface->Polkit.Identity GObject.Object GObject.Object Polkit.UnixNetgroup Polkit.UnixNetgroup GObject.Object->Polkit.UnixNetgroup Polkit.Identity->Polkit.UnixNetgroup

Subclasses:

None

Methods

Inherited:

GObject.Object (37), Polkit.Identity (4)

Structs:

GObject.ObjectClass (5)

class

new (name)

get_name ()

set_name (name)

Virtual Methods

Inherited:

GObject.Object (7), Polkit.Identity (3)

Properties

Name

Type

Flags

Short Description

name

str

r/w/c

The NIS netgroup name

Signals

Inherited:

GObject.Object (1)

Fields

Inherited:

GObject.Object (1)

Class Details

class Polkit.UnixNetgroup(**kwargs)
Bases:

GObject.Object, Polkit.Identity

Abstract:

No

Structure:

Polkit.UnixNetgroupClass

An object representing a netgroup identity on a UNIX system.

classmethod new(name)
Parameters:

name (str) – A netgroup name.

Returns:

A Polkit.UnixNetgroup object. Free with GObject.Object.unref().

Return type:

Polkit.Identity

Creates a new Polkit.UnixNetgroup object for name.

get_name()
Returns:

A netgroup name string.

Return type:

str

Gets the netgroup name for self.

set_name(name)
Parameters:

name (str) – A netgroup name.

Sets name for self.

Property Details

Polkit.UnixNetgroup.props.name
Name:

name

Type:

str

Default Value:

None

Flags:

READABLE, WRITABLE, CONSTRUCT

The NIS netgroup name.