<?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>SharePoint Integration</title><link>https://www.infopathdev.com:443/forums/46.aspx</link><description> For questions concerning issues in the integration of SharePoint and Microsoft InfoPath.</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: Sharepoint / Infopath / HttpContext?</title><link>https://www.infopathdev.com:443/forums/thread/15759.aspx</link><pubDate>Wed, 09 Nov 2005 08:37:53 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:15759</guid><dc:creator>Patrick Halstead</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/15759.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=46&amp;PostID=15759</wfw:commentRss><description>Hi Alex,&lt;br /&gt;&lt;br /&gt;We're incredibly busy right now. The AD Web service doesn't work well across domains. You could probably set up some trust relationship between the domains but you might still have issues. &lt;br /&gt;&lt;br /&gt;Glad to hear that the GetUserInfo method works well. &lt;br /&gt;&lt;br /&gt;Please post specific questions/issues to the Premium Downloads forum and we will respond within 24 hours.&lt;br /&gt;&lt;br /&gt;Patrick Halstead [InfoPath MVP]&lt;br /&gt;InfoPathDev</description></item><item><title>Re: Sharepoint / Infopath / HttpContext?</title><link>https://www.infopathdev.com:443/forums/thread/15758.aspx</link><pubDate>Wed, 09 Nov 2005 03:06:45 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:15758</guid><dc:creator>Alex zhang</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/15758.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=46&amp;PostID=15758</wfw:commentRss><description>Hi, Patrick, sorry for the delay!&lt;br /&gt;I appreciate if another Live Meeting to be hold, Shanthi have make one meeting with me and the AD service still worked like I said upper. &lt;br /&gt;&lt;br /&gt;Regarding your upper questions, can I ask that the AD service can be only used just for all users are in one domain? for example, your have a SPS site and have a domain InfoDev.com, my machine is in another domain like Shinetech.com, then I open a IP form from (which have a connection to the AD service)your SPS site, at this period, I need input user account/password two times, one is when opening the SPS page, one is when I click Fill out this Form to open one new form, it is possible for me to use two different user account in the two time, is it right? the what the user info the AD service will return on the form? sorry if it reads difficult, my MSN: zxh_shinetech@hotmail.com&lt;br /&gt;&lt;br /&gt;By the way, the AD service runs will when I use the GetUserInfo method.&lt;br /&gt;&lt;br /&gt;Thank you!</description></item><item><title>Re: Sharepoint / Infopath / HttpContext?</title><link>https://www.infopathdev.com:443/forums/thread/15757.aspx</link><pubDate>Thu, 03 Nov 2005 17:37:53 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:15757</guid><dc:creator>Patrick Halstead</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/15757.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=46&amp;PostID=15757</wfw:commentRss><description>Hi Alex,&lt;br /&gt;We need to do a Live Meeting to look at this. If the user is in the domain and authenticated using Windows Integrated Authentication, then the logged in user should be the same as the user info used to open the IP form. Why would it be different? Can you explain what it is for you?&lt;br /&gt;&lt;br /&gt;Patrick Halstead [InfoPath MVP]&lt;br /&gt;InfoPathDev</description></item><item><title>Re: Sharepoint / Infopath / HttpContext?</title><link>https://www.infopathdev.com:443/forums/thread/15756.aspx</link><pubDate>Wed, 02 Nov 2005 00:47:23 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:15756</guid><dc:creator>Alex zhang</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/15756.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=46&amp;PostID=15756</wfw:commentRss><description>Thanks,Patrick:&lt;br /&gt;I have gotten the AD service and met some trouble; Shanthi have so kindly helped me to solve this, but it still existed. The trouble is the AD service always returned the &lt;br /&gt;user's info of the machine where the AD service was installed. ( Shanthi know this)&lt;br /&gt;One more thing is just like sk75 said, we need to get the user info which is used to open the IP form instead of that logged the current machine.&lt;br /&gt;Sorry, I got a little confused and if I have made some misunderstanding, please forgive me.&lt;br /&gt;Thanks again.</description></item><item><title>Re: Sharepoint / Infopath / HttpContext?</title><link>https://www.infopathdev.com:443/forums/thread/15755.aspx</link><pubDate>Tue, 01 Nov 2005 06:53:05 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:15755</guid><dc:creator>Patrick Halstead</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/15755.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=46&amp;PostID=15755</wfw:commentRss><description>Hi Alex,&lt;br /&gt;Check out our Active Directory Web service. That will solve your problem.&lt;br /&gt;&lt;br /&gt;Patrick Halstead [InfoPath MVP]&lt;br /&gt;InfoPathDev</description></item><item><title>Re: Sharepoint / Infopath / HttpContext?</title><link>https://www.infopathdev.com:443/forums/thread/15754.aspx</link><pubDate>Tue, 01 Nov 2005 04:48:45 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:15754</guid><dc:creator>Alex zhang</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/15754.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=46&amp;PostID=15754</wfw:commentRss><description>sk75, thank you asking this question, I am facing it too, unfortunately until now I ddn't find how to solve this problem, I just know the System.Environment.UserName cannot help. I have googled many times and without luck.</description></item><item><title>Re: Sharepoint / Infopath / HttpContext?</title><link>https://www.infopathdev.com:443/forums/thread/15753.aspx</link><pubDate>Fri, 30 Sep 2005 03:35:01 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:15753</guid><dc:creator>Patrick Halstead</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/15753.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=46&amp;PostID=15753</wfw:commentRss><description>Windows login, and requires full trust. There should be other username commands for Http session. Please check out the .NET Framework.&lt;br /&gt;&lt;br /&gt;Patrick Halstead [InfoPath MVP]&lt;br /&gt;InfoPathDev</description></item><item><title>Re: Sharepoint / Infopath / HttpContext?</title><link>https://www.infopathdev.com:443/forums/thread/15752.aspx</link><pubDate>Wed, 28 Sep 2005 22:54:24 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:15752</guid><dc:creator>sk75</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/15752.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=46&amp;PostID=15752</wfw:commentRss><description>As a follow up to this.  I've seen the following code:&lt;br /&gt;&lt;br /&gt;try using:&lt;br /&gt;var wshShell = new ActiveXObject("Wscript.Shell");&lt;br /&gt;var wshEnv = wshShell.Environment("Process");&lt;br /&gt;var username = wshEnv.Item("UserName");&lt;br /&gt;&lt;br /&gt;My question is -- does that code give the windows login ID also, or does it give the ID used to login to IE/Sharepoint?&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;...&amp;gt;SK&amp;lt;...</description></item><item><title>Sharepoint / Infopath / HttpContext?</title><link>https://www.infopathdev.com:443/forums/thread/15287.aspx</link><pubDate>Wed, 28 Sep 2005 20:45:07 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:15287</guid><dc:creator>sk75</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/15287.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=46&amp;PostID=15287</wfw:commentRss><description>Ok.  I am having an issue that is really irritating me.  I think I know the answer (if there is an answer, I think its more work than its worth), but I will ask anyways.  &lt;br /&gt;&lt;br /&gt;I have a SharePoint Portal 2003, and Infopath 2003.  To make a long story short, I would like to know within Infopath (managed code) what the currently logged in WEB user is.  I can use system.environmetn.username, or a few other mechanisms, that will get me the domain account of the user that is logged into the machine.  However, I would like to know the user that actually logged into SharePoint portal, as they may be a different user than is actually logged into the machine.  &lt;br /&gt;&lt;br /&gt;I know some of you would ask, "why have AD and integrated security if a different user will login to the SPS site, than is logged into the machine".  The answer is simple -- this is a proof of concept for a customer, and for simplicity I would like it if they could view the SPS site by logging in as multiple users to SPS, but just through one terminal service session.  &lt;br /&gt;&lt;br /&gt;Everything that I have found points me to the direction that InfoPath really doesn't if a form is running under SPS, and if it does, there is really no way to grab the HTTPCONTEXT that launched the form, and thus the servevariables("LOGON_USER"), etc.  &lt;br /&gt;&lt;br /&gt;The infopath form is launched from SPS as a form library.  &lt;br /&gt;&lt;br /&gt;Any assistance would be great!  Thanks!&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;...&amp;gt;SK&amp;lt;...</description></item></channel></rss>