diff options
Diffstat (limited to 'data/org.freedesktop.Accounts.xml')
-rw-r--r-- | data/org.freedesktop.Accounts.xml | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/data/org.freedesktop.Accounts.xml b/data/org.freedesktop.Accounts.xml index 4612c5d..ae5dfe7 100644 --- a/data/org.freedesktop.Accounts.xml +++ b/data/org.freedesktop.Accounts.xml @@ -111,6 +111,27 @@ </doc:doc> </method> + <method name="CreateGuest"> + <annotation name="org.freedesktop.DBus.GLib.Async" value=""/> + <arg name="user" direction="out" type="o"> + <doc:doc><doc:summary>Object path of the new user</doc:summary></doc:doc> + </arg> + <doc:doc> + <doc:description> + <doc:para> + Creates a new guest account. + </doc:para> + </doc:description> + <doc:permission> + The caller needs the org.freedesktop.accounts.user-administration PolicyKit authorization. + </doc:permission> + <doc:errors> + <doc:error name="org.freedesktop.Accounts.Error.PermissionDenied">if the caller lacks the appropriate PolicyKit authorization</doc:error> + <doc:error name="org.freedesktop.Accounts.Error.Failed">if the operation failed</doc:error> + </doc:errors> + </doc:doc> + </method> + <method name="CacheUser"> <annotation name="org.freedesktop.DBus.GLib.Async" value=""/> <arg name="name" direction="in" type="s"> @@ -182,6 +203,31 @@ </doc:permission> <doc:errors> <doc:error name="org.freedesktop.Accounts.Error.PermissionDenied">if the caller lacks the appropriate PolicyKit authorization</doc:error> + <doc:error name="org.freedesktop.Accounts.Error.UserDoesNotExist">if the user id cannot be resolved</doc:error> + <doc:error name="org.freedesktop.Accounts.Error.Failed">if the operation failed</doc:error> + </doc:errors> + </doc:doc> + </method> + + <method name="DeleteGuest"> + <annotation name="org.freedesktop.DBus.GLib.Async" value=""/> + <arg name="id" direction="in" type="x"> + <doc:doc><doc:summary>The uid to delete</doc:summary></doc:doc> + </arg> + + <doc:doc> + <doc:description> + <doc:para> + Deletes a guest account. Has the same behaviour as DeleteUser but ensures only guest accounts are deleted. + </doc:para> + </doc:description> + <doc:permission> + The caller needs the org.freedesktop.accounts.user-administration PolicyKit authorization. + </doc:permission> + <doc:errors> + <doc:error name="org.freedesktop.Accounts.Error.PermissionDenied">if the caller lacks the appropriate PolicyKit authorization</doc:error> + <doc:error name="org.freedesktop.Accounts.Error.UserDoesNotExist">if the user id cannot be resolved</doc:error> + <doc:error name="org.freedesktop.Accounts.Error.UserNotGuest">if the user is not a guest account</doc:error> <doc:error name="org.freedesktop.Accounts.Error.Failed">if the operation failed</doc:error> </doc:errors> </doc:doc> |