multi-user: Add function to get dbus user id synchronously