<?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>Accessing group information from subsite</title><link>https://www.infopathdev.com:443/forums/thread/97916.aspx</link><pubDate>Thu, 12 Jun 2014 00:41:21 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:97916</guid><dc:creator>miriv365</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/97916.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=46&amp;PostID=97916</wfw:commentRss><description>I&amp;#39;d like to know if anyone is having issues getting group information when InfoPath 2010 connects to the UserGroup web service in SharePoint 2010.  What I&amp;#39;m trying to do is figure out if the current user is a member of a certain group in a SharePoint subsite.  I&amp;#39;ve followed the many excellent blog posts including the following one

http://jaliyaudagedara.blogspot.com/2011/05/getting-current-users-sharepoint-group.html.  However nothing seemed to be working for me, so I did a little more digging into the situation.  I launched Fiddler and could see that the SOAP response came back with an error &amp;quot;No Such Group found,&amp;quot; which I found odd.

The form has a SOAP data connection back to the following URL http://myserver/sites/subsite/subsite1/_vti_bin/UserGroup.asmx.  When I make the call to GetUserCollectionByGroup, I get nothing back.

On a whim I decided to whip up a console application to consume the web service.  What I&amp;#39;ve noticed is that instead of going to the subsite to gather it&amp;#39;s information, it seems to be going to the root web application http://myserver , even when the web service reference pointed to the subsite.  Within the console application, I can get it to work by setting the URL property, however I can&amp;#39;t seem to figure out if setting the URL is even possible in InfoPath code behind ( I was planning on executing the connection on the onLoading event).

Anyone have any suggestions for getting around this issue?</description></item></channel></rss>