Skip to main content
You can retrieve a Person list is with the GetPersonList method available through the PersonAgent. To use this service, we must know the IDs of the people we want before we can make the call. If we do not know the ID, we need to use a different service, for example, a method like GetPersonsFromContact.
After we have created an instance of the ContactEntity calling the ContactAgent’s GetContactWithPersons method, we can iterate through the Person property of the instantiated entity and retrieve its properties. Output:
Another option is to use the PersonAgent