I am trying to return the groups that the current user is a member of using the Getgroupcollectionfromuser operator in data connection with InfoPath 2010. So I can use that data to determine who is able to see specific fields on the form,
which will be a browser form.
I tried this way as a similar question was raised
When adding the data connection I use the method stated
here, but select the Getgroupcollectionfromuser operator instead. But when I enter the a value in "Set sample value" and not in "Set value" I get the error below when I open a new item. I am also using a data connection to another list, that just has one
field and one item, which will be used to set the conditions on the fields to hide them.
An error occurred while trying to connect to a Web service.
An entry has been added to the Windows event log of the server.
I have been looking around the web for a clue as to what I am not doing right, but have
View Complete Post