Gets user and groups.