在 SharePoint Server 中變更網站集合管理員Change site collection administrators in SharePoint Server

摘要: 如何使用SharePoint 管理中心網站或 Microsoft PowerShell 來變更 SharePoint Server 2016 和 SharePoint 2013 網站集合的網站集合管理員。Summary: How to change site collection administrators for SharePoint Server 2016 and SharePoint 2013 site collections by using the SharePoint Central Administration website or Microsoft PowerShell.

SharePoint Server 的網站集合管理員可以設定網站的外觀和行為、設定搜尋設定和網站目錄設定,並且配置儲存空間。網站集合必須有一個主要網站集合管理員,而且可以有一個次要網站集合管理員。主要和次要網站集合管理員會收到網站集合的系統管理電子郵件提醒。主要和次要網站集合管理員會自動新增至 SharePoint 網站集合系統管理員群組。您可以視需要將其他數個帳戶新增至 SharePoint 網站集合管理員群組,但是只有主要和次要網站集合管理員才會收到網站集合的系統管理提醒。SharePoint 網站集合系統管理員群組的所有成員都具有網站集合的完整系統管理權限。A site collection administrator in SharePoint Server can configure the appearance and behavior of the site, configure search settings and site directory settings, and allocate storage space. A site collection must have one primary site collection administrator and can have one secondary site collection administrator. The primary and secondary site collection administrators receive administrative email alerts for the site collection. The primary and secondary site collection administrators are automatically added to the SharePoint Site Collection Administrators group. You can add as many additional accounts as you want to the SharePoint Site Collection administrators group, but only the primary and secondary site collection administrators will receive administrative alerts for the site collection. All members of the SharePoint Site Collection Administrators group have full administrative permissions to the site collection.

變更主要或次要網站集合管理員Change the primary or secondary site collection administrator

要讓使用者成為特定網站集合的主要或次要網站集合管理員,請使用這個程序。Use this procedure when you want to make a user a primary or secondary site collection administrator for a specific site collection.

警告

網站集合只能有一個主要網站集合管理員和一個次要網站集合管理員。此程序的步驟說明如何變更任一個管理員。將身為網站集合管理員的任何使用者移除之後,以便從網站集合的網站集合管理群組移除該使用者。A site collection can have only one primary site collection administrator and one secondary site collection administrator. The steps in this procedure describe how to change either of them. Any user who is removed as a site collection administrator is removed from the site collection administrators group for the site collection.

若要使用中央系統管理變更主要或次要網站集合管理員To change the primary or secondary site collection administrator by using Central Administration

  1. 確認是否具備下列系統管理認證:Verify that you have the following administrative credentials:

    • 若要新增網站集合管理員,您必須是執行管理中心電腦上伺服器陣列管理員群組的成員。To add a site collection administrator, you must be a member of the Farm Administrators group on the computer that is running Central Administration.
  2. 在管理中心中按一下 [應用程式管理]*。在 [應用程式管理]* 頁面上,按一下 [網站集合]**** 區段中的 [變更網站集合管理員]*In Central Administration, click *Application Management. On the Application Management page, in the Site Collections section, click Change site collection administrators.

  3. 如果尚未選取您需要的網站集合,請在 [網站集合管理員]**** 頁面上,按一下網站集合名稱旁邊的箭頭,然後選取 [變更網站集合]*On the *Site Collection Administrators page, click the arrow next to the site collection name, and then select Change Site Collection if the site collection you want is not already selected.

  4. 如果其中列出您要新增管理員的網站集合,請選取網站集合的 URL,然後按一下 [確定]*。如果網站集合未列出,請按一下 Web 應用程式名稱旁邊的箭頭,並按一下 [變更 Web 應用程式],接著選取包含網站集合的 Web 應用程式名稱,並選取網站集合的 URL,然後按一下 [確定]If the site collection to which you want to add an administrator is listed, select the URL of the site collection, and then click *OK. If the site collection is not listed, click the arrow next to the web application name, click Change Web Application, select the name of the web application that contains the site collection, select the URL of the site collection, and then click OK.

  5. 在 [主要網站集合管理員]**** 或 [次要網站集合管理員]**** 區域中,使用 <domain>\ <username> 格式輸入要新增的使用者名稱,或使用通訊錄選取使用者。In the Primary site collection administrator or Secondary site collection administrator area, either type the name of the user whom you want to add by using the format <username> or select the user by using the address book.

  6. 按一下 [確定]*Click *OK.

若要使用 Microsoft PowerShell 新增主要或次要網站集合管理員To add a primary or secondary site collection administrator by using Microsoft PowerShell

  1. 確認符合下列基本需求:請參閱<Add-SPShellAdmin>。Verify that you meet the following minimum requirements: See Add-SPShellAdmin.

  2. 開啟 SharePoint 管理命令介面。Open the SharePoint Management Shell.

  3. 在 PowerShell 命令提示字元中,輸入下列命令,以取代次要網站集合管理員:At the PowerShell command prompt, type the following command to replace the secondary site collection administrator:

    Set-SPSite -Identity "<SiteCollection>" -SecondaryOwnerAlias "<User>"
    

    其中:Where:

    • <SiteCollection> 是您想要新增的網站集合系統管理員的網站集合 URL。<SiteCollection> is the URL of the site collection to which you want to add a site collection administrator.

    • <User> 是您要使用 <domain>\ <username> 格式新增的使用者名稱。<User> is name of the user whom you want to add in the format <domain>\ <username>.

上一個程序顯示如何一般使用 Set-SPSite Cmdlet 新增次要網站集合管理員。您可以指定不同的參數來設定網站集合的不同設定。如需詳細資訊,請參閱< Set-SPSite>。建議您在執行命令列管理工作時使用 Windows PowerShell。Stsadm 命令列工具已過時,但為與舊版產品相容,仍會隨附提供。The previous procedure shows a common way to use the Set-SPSite cmdlet to add a secondary site collection administrator. You can specify different parameters to configure different settings for a site collection. For more information, see Set-SPSite. We recommend that you use Microsoft PowerShell when performing command-line administrative tasks. The Stsadm command-line tool has been deprecated, but is included to support compatibility with previous product versions.

移除網站集合管理員Remove a site collection administrator

使用此程序可指定要從網站集合管理員清單中移除的使用者。此程序中不會移除 Active Directory 網域服務 (AD DS)的使用者。Use this procedure to specify the user to be removed from the site collection administrator list. This procedure does not remove the user from Active Directory Domain Services (AD DS).

若要使用管理中心移除網站集合管理員To remove a site collection administrator by using Central Administration

  1. 確認是否具備下列系統管理認證:Verify that you have the following administrative credentials:

    • 若要移除網站集合管理員,您必須是執行管理中心電腦上伺服器陣列管理員群組的成員。To remove a site collection administrator, you must be a member of the Farm Administrators group on the computer that is running Central Administration.
  2. 在管理中心中選取 [應用程式管理]*。在 [應用程式管理]* 頁面上,按一下 [網站集合]**** 區段中的 [變更網站集合管理員]*In Central Administration, select *Application Management. On the Application Management page, in the Site Collections section, click Change site collection administrators.

  3. 在 [網站集合管理員]**** 頁面上,按一下網站集合名稱旁邊的箭頭,然後按一下 [變更網站集合]*On the *Site Collection Administrators page, click the arrow next to the site collection name, and then click Change Site Collection.

  4. 如果其中列出您要移除管理員的網站集合,請選取網站集合的 URL,然後按一下 [確定]*。如果網站集合未列出,請按一下 Web 應用程式名稱旁邊的箭頭,並按一下 [變更 Web 應用程式],接著選取包含網站集合的 Web 應用程式名稱,並選取網站集合的 URL,然後按一下 [確定]If the site collection from which you want to remove an administrator is listed, select the URL of the site collection, and then click *OK. If the site collection is not listed, click the arrow next to the web application name, click Change Web Application, select the name of the web application that contains the site collection, select the URL of the site collection, and then click OK.

  5. 每個網站集合必須有主要網站集合管理員。如果您要移除主要網站集合管理員,必須以不同的主要網站集合管理員取代。若要這麼做,請選取目前的管理員名稱,請按 Delete 鍵,然後使用 <domain>\ <username> 格式輸入取代的網站集合管理員,或使用通訊錄選取取代的網站集合管理員。Every site collection must have a primary site collection administrator. If you want to remove the primary site collection administrator, you must replace it with a different primary site collection administrator. To do so, select the current administrator's name, press the Delete key, and then either type the name of the replacement site collection administrator by using the format <domain>\ <username> or select a replacement site collection administrator by using the address book.

  6. 若要移除次要網站集合管理員,請選取管理員的名稱,然後按 Delete 鍵。To remove the secondary site collection administrator, select the administrator's name, and then press the Delete key.

  7. 按一下 [確定]*Click *OK.

另請參閱See also

概念Concepts

在 SharePoint Server 中建立網站集合Create a site collection in SharePoint Server

其他資源Other Resources

管理網站集合管理員Manage administrators for a site collection