Monday, July 11, 2016

Issue with UserGroup Service in Infopath Form

When InfoPath give the error as "Unable to connect to the web service.
http://sharepoint.daks.com:1111/sites/InfoTest/_vti_bin/UserGroup.asmx?WSDL

This issue occurs if the user is not able to see the membership of the group.

Check the below article.

http://www.infopathdev.com/forums/p/23009/79618.aspx

Because i was using the GetUserCollectionFromGroup to check a user's membership in a group, I needed to enable the option in the SharePoint group to allow everyone to view the group membership.  Once I turned that on, it appears that my users are no longer getting the error message.  Now that I've fixed it, it seems to make sense...how can you check if you're a member of a group if you can't see the group membership?
Hopefully this will help someone else out somewhere down the line.

No comments:

Post a Comment