diff options
author | Ondrej Holy <oholy@redhat.com> | 2012-11-02 16:04:56 +0100 |
---|---|---|
committer | Ray Strode <rstrode@redhat.com> | 2012-11-12 16:10:48 -0500 |
commit | a30ac649fb83de8b1706d1b8bf4cee193c81b706 (patch) | |
tree | dd078c4255d19fefffd02881f6844a992c36f0c5 /data | |
parent | eb1c98bd9785cea849028b8be60d8d16c9abcab0 (diff) |
accountsservice: Add User.LoginHistory property
The login history for this user.
Each entry in the array represents a login session. The first
two members are the login time and logout time, as timestamps
(seconds since the epoch). If the session is still running, the logout
time is 0.
https://bugs.freedesktop.org/show_bug.cgi?id=55915
Diffstat (limited to 'data')
-rw-r--r-- | data/org.freedesktop.Accounts.User.xml | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/data/org.freedesktop.Accounts.User.xml b/data/org.freedesktop.Accounts.User.xml index 11884d6..88198d8 100644 --- a/data/org.freedesktop.Accounts.User.xml +++ b/data/org.freedesktop.Accounts.User.xml @@ -663,6 +663,23 @@ </doc:doc> </property> + <property name="LoginHistory" type="a(xxa{sv})" access="read"> + <doc:doc> + <doc:description> + <doc:para> + The login history for this user. + Each entry in the array represents a login session. The first two + members are the login time and logout time, as timestamps (seconds since the epoch). If the session is still running, the logout time + is 0. + </doc:para> + <doc:para> + The a{sv} member is a dictionary containing additional information + about the session. Possible members include 'type' (with values like ':0', 'tty0', 'pts/0' etc). + </doc:para> + </doc:description> + </doc:doc> + </property> + <property name="IconFile" type="s" access="read"> <doc:doc> <doc:description> |