Get group name of the Current User
-
Friday, August 17, 2012 4:24 AM
Hi,
I'm using infopath 2010.I tried to get current user's group name using web service called "GroupInfo" by creating data connection to "http://servername/_vti_bin/usergroup.asmx".But I can't create access this web service and give the error below.
"The SOAP response indicates that an error occurred on the server:
Exception of type 'Microsoft.SharePoint.SoapServer.SoapServerException' was thrown.
<detail><errorstring xmlns="http://schemas.microsoft.com/sharepoint/soap/">The parameter name cannot be empty or bigger than 255 characters."I'm appreciate your help......
Thanks..
Akalanka
- Edited by Akalanka Friday, August 17, 2012 4:25 AM
All Replies
-
Monday, August 20, 2012 8:50 AM
Hi,
This question has benn solved here : http://social.msdn.microsoft.com/Forums/eu/sharepointdevelopment/thread/ce06db22-3fc1-43a8-aa8a-e60970d4f2f3
Could you try this and tell us if it works?
Hope this helps.
Visit my blog : http://rmatayron.blogspot.com/
- Marked As Answer by Akalanka Wednesday, August 29, 2012 11:23 AM
-
Monday, August 20, 2012 12:57 PMModerator
Hi,
How you are getting group name? It seems to that parameter passing to web service is empty. you need to modify the GetUserCollectionFromGroupX.xsd file.
Please follow the below blog:
http://www.peneveyre.com/blog/PermaLink,guid,8bf4fbef-c483-4e16-b942-7999151a20c5.aspx
You can also check this article to get current user group:
http://jaliyaudagedara.blogspot.in/2011/05/getting-current-users-sharepoint-group.html
Cheers, Hemendra-MCTS "Yesterday is just a memory,Tomorrow we may never see"
- Marked As Answer by Akalanka Wednesday, August 29, 2012 11:23 AM

