Query for contacts with portraits

Vote:
 

Is it possible to query the contacts of a user, to only get the contacts where the users have a portrait?

#26085
Nov 19, 2008 18:06
Vote:
 

Hi Mattias,

 

I'll have to verify this with the community team, but I don´t think it's possible due to the fact that there are no way of getting a user's MyPage via a property on the user object.

 

//Tom

#26822
Dec 23, 2008 14:18
Vote:
 

Hi again,

I've checked with the community team, as I suspected this is not possible.

The work around would be to either get all the contacts, do the check and sort in memory. Or get the IDs of the contacts and do a MyPage query where the user ID must be in the IDs you got from the contacts.

//Tom

#27286
Jan 23, 2009 15:47
This thread is locked and should be used for reference only. Please use the Legacy add-ons forum to open new discussions.
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.