Session Variables in Infopath? - InfoPath Dev
in

InfoPath Dev

Session Variables in Infopath?

Last post 02-15-2010 09:39 PM by karteek. 4 replies.
Page 1 of 1 (5 items)
Sort Posts: Previous Next
  • 02-15-2010 12:31 PM

    Session Variables in Infopath?

    Hi , I have an InfoPath form integrated in Sharepoint. I need to send the logged in user/session information from Sharepoint to Infopath form, so that the infopath form uses the value to display dynamic information. Basically I need to populate session variable in sharepoint and use this variable in InfoPath. How can this be made possible? I would really appreciate if someone could help me solve this issue. Thanks.
    Karteek Peri
  • 02-15-2010 09:17 PM In reply to

    Re: Session Variables in Infopath?

    to get the user name of the logged in user use userName() function

    Qazi Anis
    Technical Architect
    Bitwise Inc
  • 02-15-2010 09:25 PM In reply to

    Re: Session Variables in Infopath?

    Hi Qazi, thanks for your reply. But, I need both the username and password. I will be passing these credentials to a web service.
    Karteek Peri
  • 02-15-2010 09:31 PM In reply to

    Re: Session Variables in Infopath?

    You can use createuserprofile web service to fetch the username and password of the logged in user..

    Vishal Srivastava
    Senior Software Engineer
    SDG Software Pvt Ltd
  • 02-15-2010 09:39 PM In reply to

    Re: Session Variables in Infopath?

    Hey Thanks Vishal....this looks like a good solution. I'll give a shot and see. Thanks again!
    Karteek Peri
Page 1 of 1 (5 items)
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.