<?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>Code</title><link>https://www.infopathdev.com:443/forums/45.aspx</link><description /><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: username() function</title><link>https://www.infopathdev.com:443/forums/thread/61921.aspx</link><pubDate>Fri, 03 Dec 2010 08:49:41 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:61921</guid><dc:creator>Patrick Halstead</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/61921.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=61921</wfw:commentRss><description>&lt;p&gt;Clayton Cobb&amp;#39;s blog has a nice example of calling GetUserProfileName. Just Google Clayton Cobb&amp;#39;s SharePoint Madness and it should come up.&lt;/p&gt;</description></item><item><title>Re: username() function</title><link>https://www.infopathdev.com:443/forums/thread/61905.aspx</link><pubDate>Thu, 02 Dec 2010 19:50:37 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:61905</guid><dc:creator>TechPundit</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/61905.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=61905</wfw:commentRss><description>This question is in response to  Potemkine in the thread above.

can you please share what function can I use so that this can be set to collect the SharePoint login instead of the windows login session. 

Thanks for all the help. You guys are all a great help.</description></item><item><title>Re: username() function</title><link>https://www.infopathdev.com:443/forums/thread/61796.aspx</link><pubDate>Tue, 30 Nov 2010 16:48:22 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:61796</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/61796.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=61796</wfw:commentRss><description>&lt;p&gt;Hey there -- everything in the square brackets (&lt;strong&gt; [ ]&lt;/strong&gt;&amp;nbsp;) is an XPath filter.&lt;/p&gt;&lt;p&gt;I don&amp;#39;t know if it will help, but here is how I think of those filters. Our data source could have many rows of data. We want information from one of them. Everything in the &lt;strong&gt;[ ]&lt;/strong&gt; are our instructions to InfoPath for how to find the &lt;em&gt;right&lt;strong&gt; &lt;/strong&gt;&lt;/em&gt;row.&lt;/p&gt;&lt;p&gt;In the case above, the formula is saying: &lt;/p&gt;&lt;p&gt;Give me the D_Title field where the Time_Stamp is the same as this other data source time stamp, and User_Alias is the same as this other data source user alias.&lt;/p&gt;&lt;p&gt;In the formula editor, if you check the Edit XPath box, you&amp;#39;ll see the full XPath, which can quickly show you what data sources are involved....Or, in the formula editor, highlight the whole mess and click the Insert Field or Group button. This should open another dialog with the field (D_Title) already selected. You can then click the filter button to see what filters have been applied.&lt;/p&gt;</description></item><item><title>Re: username() function</title><link>https://www.infopathdev.com:443/forums/thread/61790.aspx</link><pubDate>Tue, 30 Nov 2010 16:19:13 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:61790</guid><dc:creator>TechPundit</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/61790.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=61790</wfw:commentRss><description>Although, the above post is useful, a layman explanation will be useful 

Previous designer has set up complex functions in the form such as the one below below : It goes

@D_Title[@Time_Stamp = Y_timeStamp and @User_Alias = Y_userAlias]

What does this mean?</description></item><item><title>Re: username() function</title><link>https://www.infopathdev.com:443/forums/thread/61787.aspx</link><pubDate>Tue, 30 Nov 2010 16:11:54 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:61787</guid><dc:creator>TechPundit</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/61787.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=61787</wfw:commentRss><description>Never mind, as soon as I posted this question: 
I found the information here
http://www.infopathdev.com/forums/p/12461/43798.aspx</description></item><item><title>Re: username() function</title><link>https://www.infopathdev.com:443/forums/thread/61786.aspx</link><pubDate>Tue, 30 Nov 2010 16:02:59 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:61786</guid><dc:creator>TechPundit</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/61786.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=61786</wfw:commentRss><description>thank you so  much..this has been really helpful
One more question :
what does the @ symbol do in the above formulas

For example if there is an action which has a field &amp;quot;Form1_assignedto_Form4&amp;quot; and Value as @Name [Form1_userAlias=@alias]. Can you explain in layman language what is happening and what exactyl is the @ symbol doing in this case?</description></item><item><title>Re: username() function</title><link>https://www.infopathdev.com:443/forums/thread/61757.aspx</link><pubDate>Mon, 29 Nov 2010 23:50:11 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:61757</guid><dc:creator>Potemkine</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/61757.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=61757</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;&lt;/p&gt;Hi, it&amp;#39;s the login of the windows session.</description></item><item><title>Re: username() function</title><link>https://www.infopathdev.com:443/forums/thread/61739.aspx</link><pubDate>Mon, 29 Nov 2010 15:59:18 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:61739</guid><dc:creator>TechPundit</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/61739.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=61739</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;thank you so much&lt;/p&gt;&lt;p&gt;Would that be the login of the sharepoint login or the windows session?&amp;nbsp; &lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: username() function</title><link>https://www.infopathdev.com:443/forums/thread/61664.aspx</link><pubDate>Wed, 24 Nov 2010 21:17:36 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:61664</guid><dc:creator>Potemkine</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/61664.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=61664</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;&lt;/p&gt;Hi, username() function allow to display the local user of the current windows session. For your rules :@Name [Form1_userAlias=@alias], it&amp;#39;s probably set the name of the current login.</description></item><item><title>username() function</title><link>https://www.infopathdev.com:443/forums/thread/61662.aspx</link><pubDate>Wed, 24 Nov 2010 20:42:36 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:61662</guid><dc:creator>TechPundit</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/61662.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=61662</wfw:commentRss><description>Someone has already created a few forms before I joined and I am trying to troubleshoot 1)In a form called Form1,When I look into the Text Box properties of &amp;quot;Form1_userAlias&amp;quot;, its default Value is set to userName().......................... what information is collected by a username function, with open and closed brackets ? 2) Also, Can someone explain what is the net effect of the steps below............................ When I go into a Rule, there is an action which has a field &amp;quot;Form1_assignedto_Form4&amp;quot; and Value as @Name [Form1_userAlias=@alias] This is urgent, please help

PS: Sorry for the double post. Not really sure which forum this question is apt for!!</description></item></channel></rss>