SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Is there a way to add bunch of users to a SP Group at once using web service?

I have several variables (varApprovers; varTeamLeads; varVPs; varManagers) and would like to add these to a SP Group.

http:///_vti_bin/usergroup.asmx AddUserCollectionToGroup method

share|improve this question

I believe that the UserGroup.AddUserCollectionToGroup web service call would work. The example in the link illustrates how a group of users (specified in a XML list) can be loaded into an UserGroup.

share|improve this answer

The built-in web services only provide the functionality to add one user at a time.

You could, however, write your own web service that sites in your SharePoint environment to handle these type of requests.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.