<?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: Current User (Without Code) WSS 3</title><link>https://www.infopathdev.com:443/forums/thread/61047.aspx</link><pubDate>Wed, 03 Nov 2010 13:32:57 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:61047</guid><dc:creator>Sailor</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/61047.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=61047</wfw:commentRss><description>&lt;p&gt;This is interesting.&amp;nbsp; Maybe I&amp;#39;m not understanding something.&amp;nbsp; When I put the query field (LanId) on the form and preview it, it automatically puts my LanId in that field.&amp;nbsp; But with all the data fields on the form they are never populated.&lt;/p&gt;</description></item><item><title>Re: Current User (Without Code) WSS 3</title><link>https://www.infopathdev.com:443/forums/thread/61030.aspx</link><pubDate>Tue, 02 Nov 2010 22:40:23 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:61030</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/61030.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=61030</wfw:commentRss><description>&lt;p&gt;Have you tried adding fields to your form that are bound to the receive connection so that you can see whether the connection returns values? Can others who are using the web service tell you a value known to work for the match parameter that you can try?&lt;/p&gt;</description></item><item><title>Re: Current User (Without Code) WSS 3</title><link>https://www.infopathdev.com:443/forums/thread/61027.aspx</link><pubDate>Tue, 02 Nov 2010 21:16:13 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:61027</guid><dc:creator>Sailor</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/61027.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=61027</wfw:commentRss><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;Thank you.&amp;nbsp; I tried doing a query of this webservice (following the instructions on this blog) &lt;a href="http://blogs.msdn.com/b/jannemattila/archive/2007/01/21/infopath-and-web-service-data-connection.aspx"&gt;http://blogs.msdn.com/b/jannemattila/archive/2007/01/21/infopath-and-web-service-data-connection.aspx&lt;/a&gt;&amp;nbsp;but I never return any values.&amp;nbsp; I checked around and was told this web service does indeed work well, as programmers are using it for other web-based resources.&amp;nbsp; I must be doing something wrong...though this does seem very simple.&amp;nbsp; &lt;/p&gt;
&lt;p&gt;Create the receive connection&lt;br /&gt;Create some text box controls (one for the query item) and the rest to display the data&lt;br /&gt;Add button with rule to set the data connection &amp;quot;query&amp;quot; field, rule to submit the query, then rules to set each of the fields with data from the query.&lt;/p&gt;</description></item><item><title>Re: Current User (Without Code) WSS 3</title><link>https://www.infopathdev.com:443/forums/thread/61022.aspx</link><pubDate>Tue, 02 Nov 2010 19:09:56 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:61022</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/61022.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=61022</wfw:commentRss><description>&lt;p&gt;As to your web service, try adding a query connection to it in your form. The query parameter (match)&amp;nbsp;looks like it accepts a string, and from the name of the web method (GetEmployeesByNameOrId), I&amp;#39;d think you could enter either a name or an alias (guessing as to what Id is).&lt;/p&gt;&lt;p&gt;So, add a query connection, put in your alias for the match parameter, and see if you get any data back. In fact, when I&amp;#39;m trying to figure out a new web service, I usually drag the whole data source onto my form and add a button that will run a query using the data source. Then I can experiment a bit, get a sense for what data is returned.&lt;/p&gt;</description></item><item><title>Re: Current User (Without Code) WSS 3</title><link>https://www.infopathdev.com:443/forums/thread/61015.aspx</link><pubDate>Tue, 02 Nov 2010 17:38:25 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:61015</guid><dc:creator>TerryB</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/61015.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=61015</wfw:commentRss><description>I&amp;#39;ve been using this method for sometime (on forms that aren&amp;#39;t trusted) and it works ok. It&amp;#39;s better if you then delete the created entry to keep the list &amp;#39;clean&amp;#39;. The method however isn&amp;#39;t fool proof and if there is a lot of simultaneous form users you can get the wrong entry i.e. created by is incorrect. Additionally, you can get an entry left on the list if you&amp;#39;re not careful. I guess you could add some more checks by writing the time to the list (from a code variable) then filter the read back to choose the line item with the time you wrote.

good luck.</description></item><item><title>Re: Current User (Without Code) WSS 3</title><link>https://www.infopathdev.com:443/forums/thread/61009.aspx</link><pubDate>Tue, 02 Nov 2010 15:49:11 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:61009</guid><dc:creator>Potemkine</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/61009.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=61009</wfw:commentRss><description>&lt;p&gt;Ok, this is not really elegant, you can create a list and display the last created item first, then you add a new data connection that create an item to this list ie:http://www.infopathdev.com/blogs/matt/archive/2006/02/02/Add-SharePoint-List-Items-with-InfoPath.aspx&lt;/p&gt;
&lt;p&gt;after that, you create a new data connection to this list to get the username of the creator. On form option, on form behavior, you run first, your data connection that create you item and secondly the one who get the information. Finally on a field of your main datasource, you set as default value&amp;nbsp;the column&amp;nbsp;&amp;quot;created by &amp;quot; of your new list.&lt;/p&gt;
&lt;p&gt;Hope it&amp;#39;s clear&lt;/p&gt;</description></item><item><title>Re: Current User (Without Code) WSS 3</title><link>https://www.infopathdev.com:443/forums/thread/61007.aspx</link><pubDate>Tue, 02 Nov 2010 15:20:27 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:61007</guid><dc:creator>Sailor</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/61007.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=61007</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;Yes, I think this would be better than nothing.&lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: Current User (Without Code) WSS 3</title><link>https://www.infopathdev.com:443/forums/thread/61005.aspx</link><pubDate>Tue, 02 Nov 2010 15:13:18 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:61005</guid><dc:creator>Potemkine</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/61005.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=61005</wfw:commentRss><description>&lt;p&gt;Hi, the name displayed&amp;nbsp;on &amp;quot;created by&amp;quot; or &amp;quot;modified by&amp;quot;&amp;nbsp;column&amp;nbsp;when you created an item on WSS correspond that what you need ? I ask that because you can use a method to get this information whitout codes and with WSS.&lt;/p&gt;</description></item><item><title>Re: Current User (Without Code) WSS 3</title><link>https://www.infopathdev.com:443/forums/thread/61003.aspx</link><pubDate>Tue, 02 Nov 2010 14:12:10 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:61003</guid><dc:creator>Sailor</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/61003.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=61003</wfw:commentRss><description>&lt;p&gt;I just found out our company host a webservice that is suppose to allow user lookups.&amp;nbsp; It&amp;#39;s not structured the same way as the userprofileservice.asmx.&amp;nbsp; Anyone know if I can get this to&amp;nbsp;return the same kind of information?&amp;nbsp; This is&amp;nbsp;really outside my abilities.&amp;nbsp; I&amp;#39;ve attached the sample code.&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: Current User (Without Code) WSS 3</title><link>https://www.infopathdev.com:443/forums/thread/61002.aspx</link><pubDate>Tue, 02 Nov 2010 14:05:15 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:61002</guid><dc:creator>Potemkine</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/61002.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=61002</wfw:commentRss><description>&lt;p&gt;Hi, you right UserProfileService.asmx use SSP and it&amp;#39;s just available with MOSS, I don&amp;#39;t think you can do that with the native function of InfoPath and WSS. &lt;/p&gt;</description></item><item><title>Re: Current User (Without Code) WSS 3</title><link>https://www.infopathdev.com:443/forums/thread/60997.aspx</link><pubDate>Tue, 02 Nov 2010 13:39:43 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:60997</guid><dc:creator>Sailor</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/60997.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=60997</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;No, that doesn&amp;#39;t work in WSS 3.0.&amp;nbsp; You have to have MOSS I believe.&amp;nbsp; Thanks for your help though!&lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: Current User (Without Code) WSS 3</title><link>https://www.infopathdev.com:443/forums/thread/60994.aspx</link><pubDate>Tue, 02 Nov 2010 13:30:50 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:60994</guid><dc:creator>Potemkine</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/60994.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=60994</wfw:commentRss><description>&lt;p&gt;Ok, here a little tutorial to do that with web services and without codes :&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blogs.microsoft.co.il/blogs/itaysk/archive/2007/04/05/InfoPath-_2D00_-Get-the-current-user-without-writing-code.aspx"&gt;http://blogs.microsoft.co.il/blogs/itaysk/archive/2007/04/05/InfoPath-_2D00_-Get-the-current-user-without-writing-code.aspx&lt;/a&gt;&lt;/p&gt;</description></item><item><title>Re: Current User (Without Code) WSS 3</title><link>https://www.infopathdev.com:443/forums/thread/60992.aspx</link><pubDate>Tue, 02 Nov 2010 13:03:49 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:60992</guid><dc:creator>Sailor</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/60992.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=60992</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;Thank you.&amp;nbsp; Unfortunately this will only return the username and I need (ideally) First, Last, Phone information.&amp;nbsp; Did even more searching and it seems this is just not something that is possible.&amp;nbsp; If anyone can suggest an alternative I would be very happy! &lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: Current User (Without Code) WSS 3</title><link>https://www.infopathdev.com:443/forums/thread/60891.aspx</link><pubDate>Fri, 29 Oct 2010 17:28:47 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:60891</guid><dc:creator>Potemkine</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/60891.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=60891</wfw:commentRss><description>&lt;p&gt;Hi Sailor, if you&amp;#39;re on a domain, you can use the&amp;nbsp;windows login with: &lt;strong&gt;userName()&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;You can set it as the default value of a field, click on &amp;quot;fx&amp;quot; and then add the formula.&lt;/p&gt;</description></item><item><title>Current User (Without Code) WSS 3</title><link>https://www.infopathdev.com:443/forums/thread/60882.aspx</link><pubDate>Fri, 29 Oct 2010 15:55:08 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:60882</guid><dc:creator>Sailor</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/60882.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=60882</wfw:commentRss><description>&lt;p&gt;Hello,&lt;/p&gt;&lt;p&gt;&amp;nbsp;I have been searching to find a way to get information of the current user.&amp;nbsp; I can&amp;#39;t used code due to the lack of code signing ability in our environment, and can&amp;#39;t use the webservice as we are only using WSS 3.&amp;nbsp; Are there any other ways to get this information?&lt;/p&gt;&lt;p&gt;Thanks! &lt;br /&gt;&lt;/p&gt;</description></item></channel></rss>