Share via


Siteowner: Stsadm operation (Office SharePoint Server)

Applies To: Office SharePoint Server 2007

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.

 

Topic Last Modified: 2015-03-09

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).

Note

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