Is it possible to retrieve the name of a user using the SPServices given the email address?

Suppose Jack Harry has a email jack_harry@goodworld.net inside the SharePoint 2007. Is it possible to provide SPService the email jack_harry@goodworld.net and SPServices will return Jack Harry?


Try this:

    operation: "GetUserLoginFromEmail",
    emailXml: "<Users><User Email='jack_harry@goodworld.net'/></Users>",
        completefunc: function (xData, Status) {
        $(xData.responseXML).find("User").each(function() {
  • +1 David, you are awesome! – Larry Morries Nov 8 '11 at 9:00
  • Excellent Answer – Hari Gillala Nov 8 '11 at 10:26
  • Every time I try to pull the responseText from the result, it gives me null value for some reason. How do you get the display Name from all this. Cause it returns an object and during run time the responseText is absent – JohnC Nov 15 '17 at 18:46

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.