From 2779cbf9766859d9fa6f693eb75732d226c496cd Mon Sep 17 00:00:00 2001 From: Olivier Andrieu Date: Mon, 28 Jun 2004 21:55:15 +0000 Subject: * bus/driver.c (bus_driver_handle_get_connection_unix_user) * dbus/bus.c (dbus_bus_get_unix_user) * doc/dbus-specification.xml: implement GetConnectionUnixUser method of org.freedesktop.DBus interface. * bus/dispatch.c: test case --- doc/dbus-specification.xml | 51 ++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 51 insertions(+) (limited to 'doc/dbus-specification.xml') diff --git a/doc/dbus-specification.xml b/doc/dbus-specification.xml index 94f72bf8..f0d1727e 100644 --- a/doc/dbus-specification.xml +++ b/doc/dbus-specification.xml @@ -2497,6 +2497,57 @@ + + <literal>org.freedesktop.DBus.GetConnectionUnixUser</literal> + + As a method: + + UINT32 GetConnectionUnixUser (in STRING connection_name) + + Message arguments: + + + + + Argument + Type + Description + + + + + 0 + STRING + Name of the connection/service to query + + + + + Reply arguments: + + + + + Argument + Type + Description + + + + + 0 + UINT32 + 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. + + + <literal>org.freedesktop.DBus.Error.NoMemory</literal> -- cgit