Поделиться через


Turn on or turn off self-service site creation (SharePoint Foundation 2010)

 

Применимо к: SharePoint Foundation 2010

Последнее изменение раздела: 2016-11-30

The self-service site creation feature in Microsoft SharePoint Foundation 2010 allows users who have the Use Self-Service Site Creation permission to create sites in defined URL namespaces. For more information about user and site permissions, see User permissions and permission levels (SharePoint Foundation 2010). To determine whether self-service site creation is a good practice for Web sites in your organization, see Планирование сайтов и семейств сайтов (SharePoint Foundation 2010).

Примечание

Невозможно выполнить эту задачу с помощью командлетов Windows PowerShell. Воспользуйтесь программой командной строки Stsadm или веб-сайтом центра администрирования SharePoint.

In this article:

  • To turn on or turn off self-service site creation by using Central Administration

  • To turn on or turn off self-service site creation by using the Stsadm command-line tool

To turn on or turn off self-service site creation by using Central Administration

  1. Verify that the user account that is performing this task is a member of the Farm Administrators SharePoint group.

  2. On the SharePoint Central Administration Web site, click Application Management.

  3. On the Application Management page, click Manage Web Applications.

  4. Click the Web application for which you want to turn on or turn off self-service site creation. The ribbon becomes active.

  5. On the ribbon, click Self-Service Site Creation.

  6. On the Self-Service Site Collection Management page, configure the following settings:

    • Specify whether self-service site creation is On (enabled) or Off (disabled) for the Web application. The default value is On.

    • To require users of self-service site creation to supply a secondary contact name on the sign-up page, select Require secondary contact.

  7. Click OK to complete the operation.

    Примечание

    When you turn on self-service site creation, an announcement is added to the Announcements list on the home page of the top-level Web site in the root site collection for the Web application. The announcement provides a link to the site creation page.

To turn on or turn off self-service site creation by using the Stsadm command-line tool

  1. Verify that the user account that you use to run the Stsadm command-line tool is a member of the Administrators group on the local computer and a member of the Farm Administrators group.

  2. On the drive where SharePoint Foundation 2010 is installed, click Start, and then type command prompt into the text box. In the list of results, right-click Command Prompt, click Run as administrator, and then click OK.

  3. At the command prompt, type the following command:

    cd %CommonProgramFiles%\Microsoft Shared\Web server extensions\14\bin

    • To turn on self-service site creation, type the following command:

      stsadm.exe -o enablessc -url <url> -requiresecondarycontact

      Where <url> is the URL of the Web application.

      This command turns on self-service site creation and requires a secondary contact.

    • To turn off self-service site creation, type the following command:

      stsadm -o disablessc -url <url>

      Where <url> is the URL of the Web application.

For more information, see Enablessc: Stsadm operation (Windows SharePoint Services) and Disablessc: Stsadm operation (Windows SharePoint Services).