Siteowner: Stsadm operation (Windows SharePoint Services)
Updated: 2007-06-14
Operation name: Siteowner
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
|