I have a contact ID, how do I get the group to which the contact is assigned? I'm sure this has something to do with the Contacts.Groups class, but I can't figure it out.
In GroupMembership.PERSON_ID you have the Person identifier, and in the same GroupMembership.GROUP_ID table you have the group identifier. You can get groups using Contacts.Groups .
GroupMembership.PERSON_ID
GroupMembership.GROUP_ID
Contacts.Groups
Remember that each βtableβ also has a unique identifier to identify the row.
Hope this helps. (I also work on it)