Copy Site Group
This operation allows you to create a SharePoint group based on an existing group. The new group’s characteristics are based on the source group used to create it, but do not include the members.
Name |
Description |
Required |
description |
The description of the new SharePoint group. |
Yes |
destination |
The name of the resulting SharePoint group. |
Yes |
source |
The name of the SharePoint group to copy. |
Yes |
url |
The URL of the site where the SharePoint group will be copied. |
Yes |
The following example creates a new group called Manager, whose characteristics are based on the Contributor group:
svadm.exe –o copysitegroup –url http://localhost/sv/documents -source "Contributor" –destination "Manager" –description "Default manager group"
You can also run a batch file to automate the creation of multiple site groups. To do this, create a batch file for each site group you that want to copy/create that contains the following and run it from \Program Files\ShareVis\bin:
svadm.exe -o copysitegroup -url http://server/site -source "source group name" -destination "destination group name" -description "description of group"