diff options
author | Stef Walter <stefw@gnome.org> | 2012-06-13 13:59:28 +0200 |
---|---|---|
committer | Ray Strode <rstrode@redhat.com> | 2012-08-16 14:59:46 -0400 |
commit | 93529ed67a1b64ab6fbc0dd646904d7063844144 (patch) | |
tree | e2a6722974885cab0dfa388bdd8ece24709107c2 /data | |
parent | 9ccf10021a99dd98d904d27a663421228ba58b66 (diff) |
Add User.Local dbus property
This property describes whether the user account is local to the machine
or not, and thus can be managed with usermod, userdel and so on.
We currently implement this as a heuristic. If it's found in /etc/passwd
then we treat it as 'local'
https://bugs.freedesktop.org/show_bug.cgi?id=51037
Diffstat (limited to 'data')
-rw-r--r-- | data/org.freedesktop.Accounts.User.xml | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/data/org.freedesktop.Accounts.User.xml b/data/org.freedesktop.Accounts.User.xml index 6ac7186..deab745 100644 --- a/data/org.freedesktop.Accounts.User.xml +++ b/data/org.freedesktop.Accounts.User.xml @@ -729,6 +729,16 @@ </doc:doc> </property> + <property name="LocalAccount" type="b" access="read"> + <doc:doc> + <doc:description> + <doc:para> + Whether the user is a local account or not. + </doc:para> + </doc:description> + </doc:doc> + </property> + <signal name="Changed"> <doc:doc> <doc:description> |