<?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: Get the SharePoint User in InfoPath</title><link>https://www.infopathdev.com:443/forums/thread/18704.aspx</link><pubDate>Sat, 06 Jan 2007 09:43:41 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:18704</guid><dc:creator>happydigit</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/18704.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=18704</wfw:commentRss><description>Okay, thanks for your answer.&lt;br /&gt;And this solution works with SharePoint 2007 and InfoPath 2007?</description></item><item><title>Re: Get the SharePoint User in InfoPath</title><link>https://www.infopathdev.com:443/forums/thread/18703.aspx</link><pubDate>Sat, 06 Jan 2007 07:21:46 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:18703</guid><dc:creator>Shilpa Pitta</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/18703.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=18703</wfw:commentRss><description>Hi, &lt;br /&gt;But there is no other simple solution to get sharepoint user in InfoPath  other than this.</description></item><item><title>Re: Get the SharePoint User in InfoPath</title><link>https://www.infopathdev.com:443/forums/thread/18702.aspx</link><pubDate>Fri, 05 Jan 2007 12:24:14 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:18702</guid><dc:creator>happydigit</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/18702.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=18702</wfw:commentRss><description>Hello,&lt;br /&gt;&lt;br /&gt;yes I tried this but this is too complex for my problem. I'am looking for a small solution and plain-spoken I do not realy understand this "How to". In the deep of the web I found something like this:&lt;br /&gt;&lt;br /&gt;SPWeb web = SPControl.GetContextWeb(System.Web.HttpContext.Current);&lt;br /&gt;SPUser spuser = web.CurrentUser;&lt;br /&gt;&lt;br /&gt;Have you got any ideas?&lt;br /&gt;Thanks.</description></item><item><title>Re: Get the SharePoint User in InfoPath</title><link>https://www.infopathdev.com:443/forums/thread/18701.aspx</link><pubDate>Thu, 04 Jan 2007 14:18:52 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:18701</guid><dc:creator>K.Ramana Reddy</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/18701.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=18701</wfw:commentRss><description>Hi happydigit,&lt;br /&gt;&lt;br /&gt;Did you tried this link,&lt;br /&lt;a target="_blank" href=http://www.infopathdev.com/howto/tutorials/default.aspx?i=06d94826ac7a46a09a0f68238c2e0769.&gt;http://www.infopathdev.com/howto/tutorials/default.aspx?i=06d94826ac7a46a09a0f68238c2e0769.&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;If you tried this, what error you got.&lt;br /&gt;&lt;br /&gt;Thanks.</description></item><item><title>Get the SharePoint User in InfoPath</title><link>https://www.infopathdev.com:443/forums/thread/18536.aspx</link><pubDate>Thu, 04 Jan 2007 13:35:07 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:18536</guid><dc:creator>happydigit</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/18536.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=18536</wfw:commentRss><description>Hello,&lt;br /&gt;&lt;br /&gt;I tried last time many thing in InfoPath and SharePoint. I'am now able to put code behind in forms and to render this forms in SharePoint as Webform. Nice! :)&lt;br /&gt;&lt;br /&gt;Now I wan't to create a form with only two fields: &lt;i&gt;name &lt;/i&gt;and &lt;i&gt;comment&lt;/i&gt;. The name field musst be field out with the current user-name in SharePoint. I know, in this forum is a thread wich descripe a How-To but it don't work.&lt;br /&gt;&lt;br /&gt;Have anyone ideas or c# code to solve my problem?!&lt;br /&gt;&lt;br /&gt;Here is one code I wrote in the FormEvents_Loading:&lt;br /&gt;&lt;br /&gt;            System.Xml.XPath.XPathNavigator root, user;&lt;br /&gt;            root = this.MainDataSource.CreateNavigator();&lt;br /&gt;            user = root.SelectSingleNode("//my:&lt;i&gt;name&lt;/i&gt;",this.NamespaceManager);</description></item></channel></rss>