From a6bdf57799a498a9f3a16391de7e7c891e79e199 Mon Sep 17 00:00:00 2001 From: Will Thompson Date: Thu, 17 Jun 2010 15:05:46 +0100 Subject: [PATCH 3/3] Clarify GetConnectionUnixUser documentation. (This makes it match the freshly-documented GetConnectionUnixProcessID.) --- doc/dbus-specification.xml | 14 ++++++++------ 1 files changed, 8 insertions(+), 6 deletions(-) diff --git a/doc/dbus-specification.xml b/doc/dbus-specification.xml index 8f6b40e..0e3a178 100644 --- a/doc/dbus-specification.xml +++ b/doc/dbus-specification.xml @@ -4172,7 +4172,7 @@ As a method: - UINT32 GetConnectionUnixUser (in STRING connection_name) + UINT32 GetConnectionUnixUser (in STRING bus_name) Message arguments: @@ -4188,7 +4188,9 @@ 0 STRING - Name of the connection to query + Unique or well-known bus name of the connection to + query, such as :12.34 or + com.example.tea @@ -4207,14 +4209,14 @@ 0 UINT32 - unix user id + Unix user ID - Returns the unix uid of the process connected to the server. If unable to - determine it, a org.freedesktop.DBus.Error.Failed - error is returned. + Returns the Unix user ID of the process connected to the server. If + unable to determine it (for instance, because the process is not on the + same machine as the bus daemon), an error is returned. -- 1.7.1