summaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorStef Walter <stefw@gnome.org>2012-06-13 13:59:28 +0200
committerRay Strode <rstrode@redhat.com>2012-08-16 14:59:46 -0400
commit93529ed67a1b64ab6fbc0dd646904d7063844144 (patch)
treee2a6722974885cab0dfa388bdd8ece24709107c2 /data
parent9ccf10021a99dd98d904d27a663421228ba58b66 (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.xml10
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>