







Siteowner: Stsadm operation (Office SharePoint Server) | |
![]() ![]() |
Stsadm command-line tool (Office SharePoint Server) > Stsadm operations (Office SharePoint Server) > Site management: Stsadm operations (Office SharePoint Server) > |
This Office product will reach end of support on October 10, 2017. To stay supported, you will need to upgrade. For more information, see , Resources to help you upgrade your Office 2007 servers and clients.
Operation name: Siteowner
Description
Sets the primary or secondary administrator of a site collection. Must use either the ownerlogin parameter (for primary site collection administrator) or the secondarylogin parameter (for secondary site collection administrator).
![]() |
---|
As site collection administrators, these users receive any quota or auto-deletion notices and have full control over all content in the site collection. |
Syntax
stsadm -o siteowner
-url <URL name>
[-ownerlogin]
[-secondarylogin]
Parameters
Parameter |
Value |
Required? |
Description |
url |
A valid URL, such as http://server_name |
Yes |
The URL of the site collection to which the owner of the site collection is being added |
ownerlogin |
A valid user name in the form: Domain\user_name |
No. The ownerlogin parameter is not required if the secondarylogin parameter is specified. Otherwise, the ownerlogin parameter is required. |
The user name of the primary site collection administrator |
secondarylogin |
A valid user name in the form: Domain\user_name |
No. The secondarylogin parameter is not required if the ownerlogin parameter is specified. Otherwise, the secondarylogin parameter is required. |
The user name of the secondary site collection administrator |