I’d like to query the user profile service and get users only by a specific property – for example by Job Title. Is there any way to do this using the client object model?
I do NOT want to query all site users collection and then filter them in-memory. Anyway to query directly the UPS – even passing a caml?
You can do this using Rest Api by this url:
http://<sitename>/_api/sp.userprofiles.peoplemanager/
From this you can get the data by parsing like
for eg. d.UserProfileProperties.key.
This way you can get all Properties of the user.
