STSADM command to add 'Site Collection Admins'?
Can someone help me with stsadm command to add user as site collection admin?
September 20th, 2010 11:57am

hi, you can add site collection admin by the below command and you can refer to this link http://technet.microsoft.com/en-us/library/cc723735.aspx stsadm -o adduser -url -userlogin Domain\User_Name -useremail someone@example.com -role Site_Group_Name -username "users Display Name -siteadmin
Free Windows Admin Tool Kit Click here and download it now
September 20th, 2010 12:44pm

Hi, the -o adduser adds users to "site groups". Siteowner: Stsadm operation (Office SharePoint Server) adds users as site collection administrators: http://technet.microsoft.com/en-us/library/cc262637(office.12).aspx Example: stsadm.exe -o siteowner -url <url> [-ownerlogin <DOMAIN\name>] [-secondarylogin <DOMAIN\name>] Cheers,Daniel Bugday Web: SharePoint Forum Blog: SharePoint By Bugday
September 20th, 2010 1:56pm

If I add someone as site owner, will it replace existing site owner or it will add new user as new site owner of the site?
Free Windows Admin Tool Kit Click here and download it now
September 20th, 2010 3:42pm

New user. Cheers,Daniel Bugday Web: SharePoint Forum Blog: SharePoint By Bugday
September 20th, 2010 4:10pm

OK... here is wht I did. I added to 2 users and I could see them in 'Site Collection Admins'. I excuted the command again with another 2 users. The both 2 new users replaced the existing 'Site collection Admins'.
Free Windows Admin Tool Kit Click here and download it now
September 20th, 2010 5:56pm

Strange, i tried to add a user to the visitors group, and then added another user to the same group which added the second user to the list. Did you run -o siteowner or -o adduser? Daniel Bugday Web: SharePoint Forum Blog: SharePoint By Bugday
September 20th, 2010 6:05pm

1st I executed stsadm -o siteowner -url http://sharepoint/sites/subsite/ -ownerlogin domain\user1 -secondarylogin domain\user2 User1 and User2 get added as an 'Site collection admins'. 2nd I executed stsadm -o siteowner -url http://sharepoint/sites/subsite/ -ownerlogin domain\user3 -secondarylogin domain\user4 User1 and User2 are removed and I can see only User3 and User4 as 'Site Collection Admins'
Free Windows Admin Tool Kit Click here and download it now
September 20th, 2010 6:37pm

Try to use stsadm -o adduser with the siteowner propertyDaniel Bugday Web: SharePoint Forum Blog: SharePoint By Bugday
September 20th, 2010 6:47pm

That's mean.... there is no way I can add multiple users to 'Site Collection Admins' tab using stsadm operation.
Free Windows Admin Tool Kit Click here and download it now
September 20th, 2010 7:29pm

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics