From: Will Thompson Date: Thu, 17 Jun 2010 14:05:46 +0000 (+0100) Subject: Clarify GetConnectionUnixUser documentation. X-Git-Tag: dbus-1.3.1~5 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=1861c9fdd0cbe2be0351e9bdc5b199ff300a0844;p=thirdparty%2Fdbus.git Clarify GetConnectionUnixUser documentation. (This makes it match the freshly-documented GetConnectionUnixProcessID.) --- diff --git a/doc/dbus-specification.xml b/doc/dbus-specification.xml index 8f6b40e9e..0e3a17834 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.