summaryrefslogtreecommitdiffstats
path: root/doc/spec/ck-session.xml
diff options
context:
space:
mode:
Diffstat (limited to 'doc/spec/ck-session.xml')
-rw-r--r--doc/spec/ck-session.xml21
1 files changed, 21 insertions, 0 deletions
diff --git a/doc/spec/ck-session.xml b/doc/spec/ck-session.xml
index 5b1d843..c927c8c 100644
--- a/doc/spec/ck-session.xml
+++ b/doc/spec/ck-session.xml
@@ -61,9 +61,22 @@
<doc:doc>
<doc:description><doc:para>Returns the user that the session belongs to.</doc:para>
</doc:description>
+ <doc:deprecated version="0.1.3" instead="GetUnixUser"/>
<doc:seealso><doc:ref type="property" to="Session:user">user</doc:ref></doc:seealso>
</doc:doc>
</method>
+ <method name="GetUnixUser">
+ <arg name="uid" direction="out" type="i">
+ <doc:doc>
+ <doc:summary>POSIX User ID</doc:summary>
+ </doc:doc>
+ </arg>
+ <doc:doc>
+ <doc:description><doc:para>Returns the POSIX user ID that the session belongs to.</doc:para>
+ </doc:description>
+ <doc:seealso><doc:ref type="property" to="Session:unix-user">unix-user</doc:ref></doc:seealso>
+ </doc:doc>
+ </method>
<method name="GetX11Display">
<arg name="display" direction="out" type="s">
<doc:doc>
@@ -291,11 +304,19 @@
</doc:doc>
</signal>
+ <property name="unix-user" type="u" access="readwrite">
+ <doc:doc>
+ <doc:description>
+ <doc:para>The user assigned to the session.</doc:para>
+ </doc:description>
+ </doc:doc>
+ </property>
<property name="user" type="u" access="readwrite">
<doc:doc>
<doc:description>
<doc:para>The user assigned to the session.</doc:para>
</doc:description>
+ <doc:deprecated version="0.1.3" instead="unix-user"/>
</doc:doc>
</property>
<property name="session-type" type="s" access="readwrite">