With this query you get a list of devices and topuser (primary user) on device [crayon-61efd8fe6f547292797529/]