aboutsummaryrefslogtreecommitdiff
path: root/src/users-service.xml
blob: c90f1e85c0667a34fba294e573bcea1da42ad509 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
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>