Thursday, May 17, 2012

Copying users from one SharePoint group to another



Although SharePoint doesn’t provide any out of the box approach to move users from one SharePoint group to another, this can be achieved by writing code to iterate through all users in a source group and add them to destination group.

Below mentioned is a workaround to copy users across groups without any code.
(One pre-requisite to use this approach is the users email addresses have to be associated with their LAN ID’s in the active directory)

1.       Click on People and Groups.
2.       Go to the group from which you want to copy users.
3.       From the group page, select the required users (or all users) and then from Actions Menu, choose "Email Users" as shown below.

4.       Once you selected "E-Mail Users" then your default email program (Ex: Outlook) will be open with all email addresses.
5.       Select all email addresses and copy them.
6.       Navigate to SharePoint site and then go to SharePoint group to which you want to add users.
7.       From the toolbar, select "New" and then "Add Users". 
8.       From the add users page, paste all email addresses and then click "Check names" icon for validation.
9.       Click OK button to save the changes.

Thus all the users are copied across to the destination group.

No comments: