<?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 with Javascript</title><link>https://www.infopathdev.com:443/forums/thread/13395.aspx</link><pubDate>Wed, 27 Jul 2005 15:56:28 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:13395</guid><dc:creator>tatopitta</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/13395.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=13395</wfw:commentRss><description>Thank u Agni, you're very kind and very fast too! :))</description></item><item><title>Re: Username with Javascript</title><link>https://www.infopathdev.com:443/forums/thread/13394.aspx</link><pubDate>Wed, 27 Jul 2005 15:21:44 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:13394</guid><dc:creator>Agni Jonnalagadda</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/13394.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=13394</wfw:commentRss><description>Hi tatopitta,&lt;br /&gt;yes this form requires full trust. Other way you can get away with out full trust is write a webservice which gets the loggedin user details.&lt;br /&gt;&lt;br /&gt;We have a Webservice built to get the loggedin user details. It is available at&lt;a target="_blank" href=http://www.infopathdev.com/webstore/detail.aspx?itemid=18&gt;http://www.infopathdev.com/webstore/detail.aspx?itemid=18&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Agni&lt;br /&gt;InfoPath Dev India</description></item><item><title>Username with Javascript</title><link>https://www.infopathdev.com:443/forums/thread/12511.aspx</link><pubDate>Wed, 27 Jul 2005 14:28:12 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:12511</guid><dc:creator>tatopitta</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/12511.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=12511</wfw:commentRss><description>To get the username, I use this code in jscript:&lt;br /&gt;&lt;br /&gt;Set X = CreateObject("WScript.Network")&lt;br /&gt;ActualUser=X.UserName &lt;br /&gt;&lt;br /&gt;But when I view the form using "Design Preview" it works, but if i publish it on sharepoint it doesn't work. Does it need to be full trust? Now it's domain security level and I cannot use .net framework. Thank u!</description></item></channel></rss>