tags:

views:

241

answers:

2

Hi, We have a need to retreive all users if we know the group name in a SharePoint. We are planning to use the following MOSS out of the web service to retrieve the users from a group. If the group has nested sub groups, do you know how this web service behaves?

Also, does the user accessing the web service has to be a super user having permission to all SharePoint sites? Is this web service based on a site or a document library?

/_vti_bin/usergroup.asmx?op=GetUserCollectionFromGroup

Thanks.

+1  A: 

In MOSS you cannot have SharePoint group inside another SharePoint group. You can only have AD groups or users inside a SharePoint group.

You only need to have Full Read permissions to the web application to retrieve this information. You can set this permission by using the stsadm utility.

stsadm.exe -o addpermissionpolicy -url http://myFQUrl -userlogin "domain\user" -permissionlevel "Full Read"

Shamika