Topic by willy
I have two test organizations, and a test contact that I've added to both orgs.
When I run this query, I would have expected to get back both orgs, yet I only retrieve the last org to which I added the contact to:
var searchString = String.Format("SELECT ParentOrganization FROM Contact C WHERE C.ID == '{0}'", contactId);
I thought perhaps I needed to use ParentOrganizations, but that just returned a fault. How can I query all organizations that a specific contact Id belongs to? While it's unlikely that a contact works at two different organizations, the CRM doesn't prevent me from tying a contact to two different orgs. So I need to be able to query such...
Thanks!
-willy