| PolicyKit Reference Manual | ||||
|---|---|---|---|---|
| Top | Description | ||||
org.freedesktop.PolicyKit1.AuthorityManager Interfaceorg.freedesktop.PolicyKit1.AuthorityManager Interface — Manage an Authority |
Structure Authorization EnumerateUsers (OUT Array<Identity> users) EnumerateGroups (OUT Array<Identity> groups) AddAuthorization (IN Identity identity, IN Authorization authorization) RemoveAuthorization (IN Identity identity, IN Authorization authorization) EnumerateAuthorizations (IN Identity identity, OUT Array<Authorization> authorizations)
This D-Bus interface may be implemented by the /org/freedesktop/PoliycKit1/Authority object on the well-known name org.freedesktop.PolicyKit1 on the system message bus.
{
String action_id,
Subject subject,
Boolean is_negative
}
This struct describes an authorization belonging to an Identity.
|
Identifier for the action the authorization is for. |
|
The Subject that the authorization applies to. |
|
Whether the authorization is negative. |
EnumerateUsers (OUT Array<Identity> users)
Enumerate all users known to the authority.
EnumerateGroups (OUT Array<Identity> groups)
Enumerate all groups known to the authority.
AddAuthorization (IN Identity identity, IN Authorization authorization)
Add an authorization to identity.
|
The Identity to add |
|
The Authorization to add to |
RemoveAuthorization (IN Identity identity, IN Authorization authorization)
Remove an authorization from identity.
|
The Identity to remove |
|
The Authorization to remove from |
EnumerateAuthorizations (IN Identity identity, OUT Array<Authorization> authorizations)
Enumerate all authorizations for identity.
|
An Identity to enumerate authorizations for. |
|
An array of Authorization structs for |