<?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: getting user properties from AD</title><link>https://www.infopathdev.com:443/forums/thread/13648.aspx</link><pubDate>Fri, 30 Sep 2005 05:46:03 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:13648</guid><dc:creator>Patrick Halstead</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/13648.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=13648</wfw:commentRss><description>Hi Mephisto,&lt;br /&gt;Did you check the IE security settings?&lt;br /&gt;&lt;br /&gt;Patrick Halstead [InfoPath MVP]&lt;br /&gt;InfoPathDev</description></item><item><title>Re: getting user properties from AD</title><link>https://www.infopathdev.com:443/forums/thread/13647.aspx</link><pubDate>Mon, 26 Sep 2005 12:08:41 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:13647</guid><dc:creator>mephisto</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/13647.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=13647</wfw:commentRss><description>hello again,&lt;br /&gt;&lt;br /&gt;thx for your comments ... and yes, i use the System.Environment.Username to get the actual user. then i use the name to find the infomation i need for the form. i didn`t wrote that the other users who loads the form can get their name, the things after that code, the ad access does nit function. so i ever get the name ... that crazy, isn`t it? i don`t understand this behavior, because anything is good with administrator account. the problem seems to be the ad-access ..... ?????&lt;br /&gt;&lt;br /&gt;i hope you have further answers ;-)&lt;br /&gt;&lt;br /&gt;mephisto</description></item><item><title>Re: getting user properties from AD</title><link>https://www.infopathdev.com:443/forums/thread/13646.aspx</link><pubDate>Sat, 24 Sep 2005 20:12:52 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:13646</guid><dc:creator>Patrick Halstead</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/13646.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=13646</wfw:commentRss><description>Hi Mephisto,&lt;br /&gt;To use System.Environment.Username your application must run in the Intranet domain. Please check your IE settings to verify that the SharePoint site where it is published is not in the Trusted Sites domain. If it is, the C# code won't have valid permissions to get the username.&lt;br /&gt;&lt;br /&gt;Patrick Halstead [InfoPath MVP]&lt;br /&gt;InfoPathDev</description></item><item><title>Re: getting user properties from AD</title><link>https://www.infopathdev.com:443/forums/thread/13645.aspx</link><pubDate>Fri, 23 Sep 2005 18:26:46 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:13645</guid><dc:creator>vt_asparagus</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/13645.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=13645</wfw:commentRss><description>Are you using System.Environment.UserName in your C# code to get the current user?</description></item><item><title>getting user properties from AD</title><link>https://www.infopathdev.com:443/forums/thread/12578.aspx</link><pubDate>Fri, 23 Sep 2005 12:24:47 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:12578</guid><dc:creator>mephisto</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/12578.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=12578</wfw:commentRss><description>hello,&lt;br /&gt;&lt;br /&gt;i found this site my first time and i hope it`s the right place to ask my questions ;-)&lt;br /&gt;&lt;br /&gt;i wrote my code-behind in visual studio with c#. i can upload my form in a sharepoint-library and anything works fine..... anything? no, only as long as i use the form with the domain administrator account otherwise the code i wrote doesn`t function. the code get the user name and department from active directory. with this information the form gets further infos from a sql-server and write this in different textfields. for all i wrote my own code, but with any user except the administrator the code won`t function. the form has full trust und is signed with a certificat.&lt;br /&gt;&lt;br /&gt;i want to get the infos from ad by any user, who can give me a solution for my problem?&lt;br /&gt;&lt;br /&gt;mfg&lt;br /&gt;mephisto&lt;br /&gt;(germany)</description></item></channel></rss>