GetAllContacts in my Test Company
RéponduGetAllContacts(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.
-
Commentaire officiel
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,
ChristopheActions pour les commentaires -
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.
Vous devez vous connecter pour laisser un commentaire.
Commentaires
3 commentaires