在 SharePoint Server 中更改网站集管理员

适用于:yes-img-132013 yes-img-162016 yes-img-192019 yes-img-seSubscription Edition no-img-sopSharePoint in Microsoft 365

SharePoint Server 中的网站集管理员可以配置网站的外观和行为,配置搜索设置和网站目录设置并分配存储空间。 网站集必须具有一个主网站集管理员,并且可以具有一个第二网站集管理员。 主网站集管理员和第二网站集管理员接收网站集的电子邮件警报。 他们将自动添加到 SharePoint 网站集的 Administrators 组。 您可以向 SharePoint 网站集的 Administrators 组添加任意数量的额外帐户,但只有主网站集管理员和第二网站集管理员可以接收网站集的管理警报。 SharePoint 网站集 Administrators 组的所有成员都具有网站集的完全管理权限。

了解 在 Microsoft 365 中管理 SharePoint 的网站管理员

更改主或第二网站集管理员

如果您想将某个用户设置为特定网站集的主管理员或第二管理员,请使用此过程。

警告

[!警告] 网站集只能有一个主网站集管理员和一个第二网站集管理员。 此过程中的步骤介绍如何更改这两者。 作为网站集管理员被删除的任何用户将从该网站集的网站集管理员组中删除。

使用管理中心更改主或第二网站集管理员

  1. 验证您是否拥有以下管理凭据:

    • 若要添加网站集管理员,用户必须是运行管理中心的计算机上"服务器场管理员"组的成员。
  2. In Central Administration, click Application Management. On the Application Management page, in the Site Collections section, click Change site collection administrators.

  3. 如果尚未选择你需要的网站集,请在“网站集管理员”页上,单击网站集名称旁边的箭头,然后选择“更改网站集”。

  4. 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. “主网站集管理员”或“辅助网站集管理员”区域中,使用格式<域>\ <用户名>键入要添加的用户的名称,或使用通讯簿选择该用户。

  6. 单击“确定”。

使用 Microsoft PowerShell 添加主网站集管理员或辅助网站集管理员的具体步骤

  1. 确认您满足以下最低要求:请参阅 Add-SPShellAdmin

  2. 打开 SharePoint 命令行管理程序。

  3. 在 PowerShell 命令提示符处,键入以下命令以替换第二网站集管理员:

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

    其中:

    • <SiteCollection> 是您希望向其添加网站集管理员的网站集的 URL。

    • <用户>是要以域<用户名>格式<添加的用户>\ 的名称。

以上过程显示了使用 Set-SPSite cmdlet 添加第二网站集管理员的常见方法。 可以指定其他参数以配置网站集的不同设置。 有关详细信息,请参阅 Set-SPSite

我们建议您在执行命令行管理任务时使用 Windows PowerShell。 Stsadm 命令行工具已被弃用,仍然包含该工具是为了支持与之前产品版本的兼容性。

删除网站集管理员

使用此过程指定要从网站集管理员列表中删除的用户。 此过程不会从 Active Directory 域服务 (AD DS) 删除用户。

使用管理中心删除网站集管理员

  1. 验证您是否拥有以下管理凭据:

    • 若要删除网站集管理员,用户必须是运行管理中心的计算机上"服务器场管理员"组的成员。
  2. In Central Administration, select Application Management. On the Application Management page, in the Site Collections section, click Change site collection administrators.

  3. 在“网站集管理员”页上,单击网站集名称旁边的箭头,然后单击“更改网站集”。

  4. 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 键,然后使用格式<>\ <域用户名>键入替换网站集管理员的名称,或使用通讯簿选择替换网站集管理员。

  6. 要删除第二网站集管理员,请选择管理员的姓名,然后按 Delete 键。

  7. 单击“确定”

另请参阅

概念

在 SharePoint Server 中创建网站集

其他资源

管理网站集的管理员