I need to pass the current login user data from SharePoint 2010 to another web application. I am trying to use the javascript code to get the user and then pass it to the web application. I dont know where to start. My scenario is that I need to put a link on the SharePoint which would open a new form on a different web application and populate the user name value into it.
Any help would be appreciated.
Thanks in advance.