get username from message ?

Matthew Johnson dbus at
Mon Oct 30 02:32:48 PST 2006

On Mon, 30 Oct 2006, frederic heem wrote:

> Hi,
> Is there a way the get the message sender username ?

Yes, get the sending unique bus name (with dbus_message_get_sender, or
equivalent in your binding) and call org.freedesktop.DBus.GetConnectionUnixUser


Matthew Johnson

More information about the dbus mailing list