How to get User Email? - InfoPath Dev
in

InfoPath Dev

How to get User Email?

Last post 06-06-2007 09:36 AM by Greg Collins. 1 replies.
Page 1 of 1 (2 items)
Sort Posts: Previous Next
  • 06-06-2007 06:34 AM

    How to get User Email?

    I have an InfoPath that contain this code foe get the userName:

    function XDocument::OnLoad(eventObj)

     {

     var objNetwork = new ActiveXObject("WScript.network");

    var currentLogin=objNetwork.UserDomain+"\\" +objNetwork.UserName ;

    }

    Is there any option to get the user email????

  • 06-06-2007 09:36 AM In reply to

    Not with these methods. You would need a web service. Qdabra.com produces one you can try out before purchase.

    However, typically in most companies, the network username IS the email. So for company XYZ, the email would be [email protected]

Page 1 of 1 (2 items)
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.