I have a contact ID, how do I get the group the contact is assigned to? I am sure it is something to do with the Contacts.Groups class but I cannot figure it out.
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
In
GroupMembership.PERSON_IDyou have the ID of the Person, and in the same tableGroupMembership.GROUP_IDyou have the ID of the group. You can retrieve the groups with theContacts.Groups.Remember that in every ‘table’ there is and unique ID to identify the row.
Hope this helps. (Im working on it too)