Trying to add a function to display Group Affiliation in BuddyPress

I am trying to display in the Members Loop all the particular groups individuality members are affiliated with.
Is this possible? I already adding a list of members inside each group in the Groups Loop but doing it inversely seems nearly impossible.