Create a Site Collection Administrator with stsadm
Taking over administration for SharePoint after a previous administrator was ‘let go’ always has little gotchas that pop up. One of those can be needing to create a new site collection administrator. If you can’t get access to the site, you can use stsadm to create a site collection administrator.
stsadm -o adduser -url URLOFSITECOLLECTION -userlogin USERLOGIN -useremail "USEREMAIL" -role "Full Control" -group "Farm Administrators" -username "USERDISPLAYNAME" –siteadmin
Now you have a user that has access to undo all of the previous Administrator’s SharePoint badness.
Comments
- Anonymous
October 19, 2012
To undo all the sharepoint badness, one can see the Report Log. So, dont forget to activate Reporting in the site Reporting.