Siteowner: Stsadm operation (Office SharePoint Server)
Updated: June 14, 2007
Applies To: Office SharePoint Server 2007
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).
![]() |
---|
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 secondaryloginparameter is required. |
The user name of the secondary site collection administrator |
转自:http://technet.microsoft.com/en-us/library/cc262637(office.12).aspx
参考资料:http://social.technet.microsoft.com/Forums/en-US/sharepointadmin/thread/5afd18f5-f825-4e5e-b755-519867cf2765