GetAllContacts in my Test Company
AnsweredGetAllContacts(callback =>....);
Hi, Can you please confirm if this function above works?
I don't seem to get any contact list which should be 3 in my sandbox environment.
-
Official comment
Hi,
Are you using CSharp SDK ? It's easier if your precise which SDK you are using.
The method GetAllContacts(...) works fine. The callback give you the list of contacts in your ROSTER not in your company.
It's indicated in the Contacts object - an extract below:
A cache is used internally and updated automatically when a contact is added, updated, removed **from your roster only**
Use search method to find contact not in your roster and send them an invitation to add them in your roster.
cf . Contacts.SearchContactsByDisplayName(...) and Invitations.SendInvitation(...)Does it help ?
Regards,
ChristopheComment actions -
Hi Christophe,
Yes, it is a CSharp SDK.
I understand it now only the contacts in the Roster i.e. network i.e. invited will be retrieved by the GetAllContacts method.
I thought it would get all the contacts in the company regardless. So now, I will have to invite all the contacts in my company to get them in my roster.
Thanks for your help.
Please sign in to leave a comment.
Comments
3 comments