通过STSADM命令批量设置站点集管理员

 

Siteowner: Stsadm operation (Office SharePoint Server)

SharePoint 2007
 
0 out of 1 rated this helpful Rate this topic
 

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

Note 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 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

原文地址:https://www.cnblogs.com/dadongzuo/p/2976112.html