diff options
author | Robert Ancell <robert.ancell@canonical.com> | 2017-12-21 14:59:25 +1300 |
---|---|---|
committer | Robert Ancell <robert.ancell@canonical.com> | 2018-01-11 09:56:59 +1300 |
commit | 1760d7290cd3c1af44d0e92258f8a7045d20cdab (patch) | |
tree | c53c23a3125f6364d240e83257b60279b6ee9524 /data | |
parent | c139e536d8aa71e7473314d07082631a4fa278ec (diff) |
Expose the automatic login users as a daemon property.
This stops us having to iterate across each user to find which users are
configured for automatic login.
Currently we only support 0 or 1 automatic login user, but this allows
us to support multiple in the future if required. Since D-Bus doesn't have
nullable types [1] this also makes it easier to support the 0 case.
https://bugs.freedesktop.org/show_bug.cgi?id=104564
[1] https://bugs.freedesktop.org/show_bug.cgi?id=27857
Diffstat (limited to 'data')
-rw-r--r-- | data/org.freedesktop.Accounts.xml | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/data/org.freedesktop.Accounts.xml b/data/org.freedesktop.Accounts.xml index 70e9586..4612c5d 100644 --- a/data/org.freedesktop.Accounts.xml +++ b/data/org.freedesktop.Accounts.xml @@ -243,5 +243,15 @@ </doc:doc> </property> + <property name="AutomaticLoginUsers" type="ao" access="read"> + <doc:doc> + <doc:description> + <doc:para> + Users to automatically log in as + </doc:para> + </doc:description> + </doc:doc> + </property> + </interface> </node> |