While looking for above query I find a wonderful article which made my task easy. Sharing with all. PSB link.
Fetching Sharepoint Groupnames and users in group using web services in MOSS 2007
-
03-08-2022 - |
Question
I am trying to fetch all the Sharepoint groups and users in the groups using a Web service. I added web server /_vti_bin/usergroup.asmx. Then I have writen below code.
WebReference.UserGroup Group = new GetGorupNames.WebReference.UserGroup();
XmlNode Users = Group.GetGroupCollectionFromWeb();
I am unaware of further procedure.As this is my first time using web service in sharepoint. Any help provided related to xml and web service will be great.
Solution
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow