<?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</title><link>https://www.infopathdev.com:443/forums/thread/13670.aspx</link><pubDate>Wed, 28 Sep 2005 17:36:45 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:13670</guid><dc:creator>Agni Jonnalagadda</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/13670.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=13670</wfw:commentRss><description>Hi eespana, &lt;br /&gt;Welcome to the Forum!&lt;br /&gt;Did you give fulltrust to your form?&lt;br /&gt;Getting username in script using ActiveX controls needs full trust to your InfoPath form. &lt;br /&gt;&lt;br /&gt;One option is to use ADService webservice. Which doesnot require full trust.&lt;br /&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</title><link>https://www.infopathdev.com:443/forums/thread/12589.aspx</link><pubDate>Wed, 28 Sep 2005 16:28:04 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:12589</guid><dc:creator>eespana</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/12589.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=12589</wfw:commentRss><description>I have a big trouble. I need to get the username but i can't create an activexobject. &lt;br /&gt;the message error that infopath send me is "Automation server can't create the object"&lt;br /&gt;the code that i'm using is:&lt;br /&gt;function XDocument::OnLoad(eventObj)&lt;br /&gt;{&lt;br /&gt;var objNetwork = new ActiveXObject("WScript.network"); &lt;br /&gt;}&lt;br /&gt;Any sugestion?</description></item></channel></rss>