You need a database that has a mechanism for querying based off those values, so it's up to you to build a database that has all this info. If you want to use the built-in functionality, which would be the UserProfileService.asmx web service, then
you can only query based on username. I'm pretty sure you know how to do that by now.SharePoint Architect || Microsoft MVP ||
My Blog Planet Technologies ||
SharePoint Task Force
Marked as answer byPeng LeiMonday, July 04, 2011 2:06 AM
Microsoft is conducting an online survey to understand your opinion of the Technet Web site. If you choose to participate, the online survey will be presented to you when you leave the Technet Web site.