Enablessc: Stsadm operation (Office SharePoint Server)

Updated: January 17, 2008

Applies To: Office SharePoint Server 2007

Updated: 2008-01-17

Operation name: Enablessc

Enables self-service site creation for the specified Web application.

This operation is equivalent to the Enable Self-Service Site Creation user interface setting that is located on the Self-Service Site Management page of the SharePoint Central Administration Web site.

Note Note:

If there is a site collection at the root of the specified Web application with a Team Site template when self-service site creation is enabled, a list item is added to the Announcements list. The list item provides users with an URL they can use to create their own site collection.

Syntax

stsadm -o enablessc

   -url <URL name>

   [-requiresecondarycontact]

Parameters

Parameter name Value Required? Description

url

A valid URL name, such as http://server_name

Yes

The name of the Web application for which you want to enable self-service creation.

requiresecondarycontact

<none>

No

Use only if you want to require users to create a secondary contact name on the sign-up page.

The secondary contact also becomes a site collection administrator.

Remarks

Members of the Administrator site group can create subsites off their Web sites using Windows SharePoint Services 3.0. These subsites can be fully functioning Microsoft Office SharePoint Server 2007 sites, complete with a home page, document libraries, and so on, and they can even have their own unique permissions. Self-service site creation is a feature that is enabled by administrators and allows users to create their own top-level Web sites. The user does not need administrator permissions on the server or Web application, only permissions on the Web site where self-service site creation is hosted. The user simply enters some basic information and the new top-level Web site is created with the user as the owner and administrator. When you enable self-service site creation, you free yourself from having to create top-level Web sites on demand for your users as they are able to perform this operation themselves.

Examples

To enable self-service site creation for a server called MyServer and require two contact names for each site, use the following syntax:

stsadm -o enablessc -url http://MyServer -requiresecondarycontact

See Also

Links Table
1http://technet.microsoft.com/en-us/library/cc261685.aspx
Community Content Add
Annotations FAQ
Require a site collection at root level

The article implies that a site collection is not required at the root level; in practice, this does not seem to be correct.

Enablessc returns errors when trying to enable self-service site creation on a web application with no site collection at the root level: Cannot enable site creation because thre is no site collection at "/" on the web application. The Central Administration page /_admin/ConfigSSC.aspx returns the same error in this circumstance.

The reason I would want to do this is to remove the default managed path "/" explicit inclusion for this web application, and replace it with a "/" wildcard inclusion, so that end-users can self-create site collections at the root level instead of under /sites/ or some other managed path. Changing the managed paths works, then I can create root-level wildcard site collections from the central admin page. But I want end-users to be able to do this as well. I imagine the reason why this doesn't work is hinted in the article: "The user does not need administrator permissions on the server or Web application, only permissions on the Web site where self-service site creation is hosted." This makes me think that self-service site creation must rely on a site collection "host" to determine who has permission to perform self-service site creation. So maybe my desired scenario is not going to be possible... but you never know with SharePoint!

If someone finds how to do this, please post a followup here!