Get Discourse Group user is associated with

Are you calling the WP Discourse function get_discourse_user? If so, it should be returning the user’s groups in the "groups" array.