none
How to get user Email ID

    Question

  • Hi All,

    I have a requirement to get user WorkEmail ID. The requirement is as follows

    I have a form in which user will enter any name (may be first name, middle name or last name). have to get the workemail id and send an email.

    Thanks in advance


    Mohammed
    Tuesday, June 28, 2011 7:01 AM

Answers

  • 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 by Peng Lei Monday, July 04, 2011 2:06 AM
    Tuesday, June 28, 2011 7:52 AM