Sharepoint Forum

 
Home » Forum » Sharepoint       Ask a questionRSS Feeds

Running a batch command file for adding site groups

  Asked By: Cale Alford         Date: Sep 21, 2009      Category: Sharepoint      Views: 227
 

I would like to know if its possible in a SPS2003 to run a manually
written script as batch file to add a list of defined custom site
groups in a site and also if possible all the already defined
permissions for each library in the site...

to represent my need, I would like something like that in a .bat file
and this run manually when needed:

c:\stsadm -o addSiteGroup -siteGroupName1 mySite -permissions
myPermList -url mySiteURL
c:\stsadm -o addSiteGroup -siteGroupName2 mySite -permissions
myPermList -url mySiteURL

c:\stsadm -o giveSiteGroupPermissions -siteGroup mySiteGroupName1 -
documentlibrary myLibrary -permissions myPermissionsList

etc...

I saw that stsadm could not resolve this but does any other tool
(or .Net progs) could be?


Do you know someone who can help? Share a link to this thread on twitter, or facebook.

Tagged:                

 

No Answers Found. Be the First, To Post Answer.

 
Didn't find what you were looking for? Find more on Running a batch command file for adding site groups Or get search suggestion and latest updates.


Your Answer
  • Answer should be atleast 30 Characters.
  • Please put code inside [Code] your code [/Code].