aboutsummaryrefslogtreecommitdiff
path: root/src/users-service.xml
diff options
context:
space:
mode:
authorCody Russell <crussell@canonical.com>2009-09-24 12:09:22 -0500
committerCody Russell <crussell@canonical.com>2009-09-24 12:09:22 -0500
commita77cdfd8eaf9e51bf2a3cccb7d0a2c83b14ef28c (patch)
tree3cbb36cfbd8a02b692109a854dd4210cbc8a2016 /src/users-service.xml
parente0cc3cab40349e9d7587be79e17f104bf5266a5d (diff)
parent73f4d4e7e1c6a5db370848797923481a7ee4ef43 (diff)
downloadayatana-indicator-session-a77cdfd8eaf9e51bf2a3cccb7d0a2c83b14ef28c.tar.gz
ayatana-indicator-session-a77cdfd8eaf9e51bf2a3cccb7d0a2c83b14ef28c.tar.bz2
ayatana-indicator-session-a77cdfd8eaf9e51bf2a3cccb7d0a2c83b14ef28c.zip
Merge lp:~bratsche/indicator-session/users-service for bug #422052
Diffstat (limited to 'src/users-service.xml')
-rw-r--r--src/users-service.xml56
1 files changed, 56 insertions, 0 deletions
diff --git a/src/users-service.xml b/src/users-service.xml
new file mode 100644
index 0000000..c90f1e8
--- /dev/null
+++ b/src/users-service.xml
@@ -0,0 +1,56 @@
+<!DOCTYPE node PUBLIC "-//freedesktop//DTD D-BUS Object Introspection 1.0//EN" "http://www.freedesktop.org/standards/dbus/1.0/introspect.dtd">
+<node name="/org/gnome/DisplayManager/UserManager">
+ <interface name="org.gnome.DisplayManager.UserManager">
+
+ <!-- Get the number of known users -->
+ <method name="CountUsers">
+ <arg name="user_count" direction="out" type="i"/>
+ </method>
+
+ <!-- Get the list of known UIDs -->
+ <method name="GetUserList">
+ <arg name="uids" direction="out" type="ax"/>
+ </method>
+
+ <!-- Get user info for a user -->
+ <method name="GetUserInfo">
+ <arg name="uid" direction="in" type="x"/>
+ <arg name="user_name" direction="out" type="s"/>
+ <arg name="real_name" direction="out" type="s"/>
+ <arg name="shell" direction="out" type="s"/>
+ <arg name="login_count" direction="out" type="i"/>
+ <arg name="icon_url" direction="out" type="s"/>
+ </method>
+
+ <!-- Get user info for a list of users -->
+ <method name="GetUsersInfo">
+ <arg name="uid" direction="in" type="ax"/>
+ <!-- (uid, user_name, real_name, shell, icon_url) -->
+ <arg name="user_info" direction="out" type="a(xsssis)"/>
+ </method>
+
+ <!-- Query if the initial user list is loaded -->
+ <method name="GetUsersLoaded">
+ <arg name="is_loaded" direction="out" type="b"/>
+ </method>
+
+ <!-- Triggered when the initial user list is loaded -->
+ <signal name="UsersLoaded"></signal>
+
+ <!-- Triggered when a users are added to/removed from the system.
+ Clients should monitor these signals as soon as they connect to
+ this object -->
+ <signal name="UserAdded">
+ <arg name="uid" type="x"/>
+ </signal>
+ <signal name="UserRemoved">
+ <arg name="uid" type="x"/>
+ </signal>
+
+ <!-- Triggered when a user has updated information -->
+ <signal name="UserUpdated">
+ <arg name="uid" type="x"/>
+ </signal>
+
+ </interface>
+</node>