<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://www.infopathdev.com:443/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>General</title><link>https://www.infopathdev.com:443/forums/41.aspx</link><description>If you're not sure where to ask your question, ask it here. If necessary, our moderators will make sure it gets classified in the correct board.</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: Pass current user name to a web service</title><link>https://www.infopathdev.com:443/forums/thread/47993.aspx</link><pubDate>Mon, 19 Oct 2009 15:30:24 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:47993</guid><dc:creator>tsw_mik</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/47993.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=47993</wfw:commentRss><description>Ok, I&amp;#39;ve got it... Tools-&amp;gt;Form Options-&amp;gt;Open and Save</description></item><item><title>Re: Pass current user name to a web service</title><link>https://www.infopathdev.com:443/forums/thread/47992.aspx</link><pubDate>Mon, 19 Oct 2009 15:19:52 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:47992</guid><dc:creator>tsw_mik</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/47992.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=47992</wfw:commentRss><description>&lt;p&gt;Great, thanks.&lt;br /&gt;And can I create a rule that would run immediately?&lt;br /&gt;Without the need for the user to do anything?&lt;/p&gt;</description></item><item><title>Re: Pass current user name to a web service</title><link>https://www.infopathdev.com:443/forums/thread/47989.aspx</link><pubDate>Mon, 19 Oct 2009 14:47:54 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:47989</guid><dc:creator>Jimmy</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/47989.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=47989</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;You can turn off the &amp;quot;Query this data connection when the form opens&amp;quot; option, then create a rule to run when the form opens that&lt;/p&gt;&lt;ul&gt;&lt;li&gt;Sets the necessary parameter of the web service to the value of the userName() function&lt;/li&gt;&lt;li&gt;Queries the web service &lt;br /&gt;&lt;/li&gt;&lt;/ul&gt;</description></item><item><title>Pass current user name to a web service</title><link>https://www.infopathdev.com:443/forums/thread/47988.aspx</link><pubDate>Mon, 19 Oct 2009 13:58:42 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:47988</guid><dc:creator>tsw_mik</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/47988.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=47988</wfw:commentRss><description>&lt;p&gt;I need to pre-populate a drop down list in a InfoPath form with values that are filtered based on current users username.&lt;br /&gt;These values can be retrieved from a web service that accepts a username parameter.&lt;br /&gt;Unfortunately when seeting this parameter&amp;#39;s value from Data Connections wizard I can only type in the value and can&amp;#39;t use userName() InfoPath function.&lt;br /&gt;How can I set this value to current user?&lt;/p&gt;</description></item></channel></rss>