Hi,
I am trying to get a list of contacts in a specific contact group. I have been using
ContactGroupMemberInfoProvider.GetContactGroupMemberInfo(GROUP_ID);
But it only returns one record. I cannot see another function to get a list of contacts?
Thanks for your help.
This is the solution it is the get relationships call: var groupMembers = ContactGroupMemberInfoProvider.GetRelationships() .WhereEquals("ContactGroupMemberContactGroupID", aGroup.ContactGroupID) .WhereEquals("ContactGroupMemberType", ContactGroupMemberTypeEnum.Contact);
Have you looked at the API Examples yet? Looks like you need to use this class ContactGroupMemberInfoProvider
ContactGroupMemberInfoProvider
Please, sign in to be able to submit a new answer.