<?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: To retreive Windows user Id</title><link>https://www.infopathdev.com:443/forums/thread/7127.aspx</link><pubDate>Mon, 23 Oct 2006 14:08:51 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:7127</guid><dc:creator>B_Smart</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/7127.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=7127</wfw:commentRss><description>I've read lots of threads about this but i still can't do this using jscript.&lt;br /&gt;Everybody says "Use System.Environment.UserName" but that only works in C#, not in jscript.&lt;br /&gt;&lt;br /&gt;Patrick Halstead said that "There are plenty of examples out there. Just search." So, i've searched and searched and still got nothing! :(&lt;br /&gt;&lt;br /&gt;Help please on jscrip code to get the current user/login.&lt;br /&gt;&lt;br /&gt;Tahnks</description></item><item><title>Re: To retreive Windows user Id</title><link>https://www.infopathdev.com:443/forums/thread/7126.aspx</link><pubDate>Wed, 13 Jul 2005 09:01:22 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:7126</guid><dc:creator>Patrick Halstead</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/7126.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=7126</wfw:commentRss><description>There are plenty of examples out there. Just search.&lt;br /&gt;&lt;br /&gt;Patrick Halstead [InfoPath MVP]&lt;br /&gt;InfoPathDev</description></item><item><title>Re: To retreive Windows user Id</title><link>https://www.infopathdev.com:443/forums/thread/7125.aspx</link><pubDate>Tue, 12 Jul 2005 11:13:22 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:7125</guid><dc:creator>shreeprabu</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/7125.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=7125</wfw:commentRss><description>hi all,&lt;br /&gt;&lt;br /&gt;Someone pls help me in accessing windows User Id using JSCRIPT,&lt;br /&gt;"System.Environment.UserName" , I have tried it its not working.&lt;br /&gt;&lt;br /&gt;pls some one can you give code onload event { "JSCRIPT" }&lt;br /&gt;or tutorial how to do then it would be useful.&lt;br /&gt;&lt;br /&gt;Thanks for your Help&lt;br /&gt;Shree&lt;br /&gt;&lt;br /&gt;SHREEPRABU,&lt;br /&gt;SOFTWARE ENGINEER&lt;br /&gt;US TECHNOLOGY&lt;br /&gt;</description></item><item><title>Re: To retreive Windows user Id</title><link>https://www.infopathdev.com:443/forums/thread/7124.aspx</link><pubDate>Tue, 12 Jul 2005 08:22:21 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:7124</guid><dc:creator>markperry</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/7124.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=7124</wfw:commentRss><description>How do you do the first part? Do you need to edit the code-behind on a form?&lt;br /&gt;&lt;br /&gt;There are a lot of people asking this question on the forums, and the responses always tend to be 'use system.environment.username'. It would be nice if someone could do a step - by - step tutorial showing how.</description></item><item><title>Re: To retreive Windows user Id</title><link>https://www.infopathdev.com:443/forums/thread/7123.aspx</link><pubDate>Mon, 11 Jul 2005 18:01:18 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:7123</guid><dc:creator>Agni Jonnalagadda</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/7123.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=7123</wfw:commentRss><description>Get the logged in username from the code with &lt;br /&gt;System.Environment.UserName(c#).&lt;br /&gt;Create a secondary dataconnection xml with a node for logged in user and put that Info in that secondarydataconnection xml Node.&lt;br /&gt;&lt;br /&gt;Note: I think it can be done in Jscript also.&lt;br /&gt;&lt;br /&gt;Agni&lt;br /&gt;InfoPathDev India</description></item><item><title>To retreive Windows user Id</title><link>https://www.infopathdev.com:443/forums/thread/4766.aspx</link><pubDate>Mon, 11 Jul 2005 09:09:35 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:4766</guid><dc:creator>shreeprabu</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/4766.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=4766</wfw:commentRss><description>Hi all,&lt;br /&gt;&lt;br /&gt;can anybody help me on how to get the windows user Id logged in Infopath form.&lt;br /&gt;&lt;br /&gt;shold it be done using JScript or can it be done in XSL using scripts.&lt;br /&gt;&lt;br /&gt;pls help me out in this.&lt;br /&gt;Thanks&lt;br /&gt;SHREE&lt;br /&gt;&lt;br /&gt;SHREEPRABU,&lt;br /&gt;SOFTWARE ENGINEER&lt;br /&gt;US TECHNOLOGY&lt;br /&gt;</description></item></channel></rss>