I would like to write a
SOQL query which goes from
Account > Contact > User(s)
Something like this:
[SELECT PersonContactId, PersonContact.Users, PersonEmail FROM Account WHERE ...]
But I get this error:
No such column 'Users' on entity 'Contact'.
I also get this error:
No such column 'PersonContact' on entity 'Account'
Account object has a field called
PersonContactId with a relationship name
Contact object has a child relationship named:
So therefore, I should be able to do
- What am I doing wrong?
- How can I get the
Usercollection when querying