Createsite: stsadm operation (Windows SharePoint Services)

Source: Internet
Author: User
Tags valid email address

Go to msdn:

Description

Use the specified user as the website set owner and website set administrator to create a website set using the specified unified resource locator (URL.

Note:

The createsite operation does not create a new content database. To create a new content database with a new website, see createsiteinnewdb.

Syntax

Stsadm-O createsite

-URL <URL Name>

-Owneremail <someone@example.com>

[-Ownerlogin <domain \ Name>]

[-Ownername <display name>]

[-Secondaryemail <someone@example.com>]

[-Secondarylogin <domain \ Name>]

[-Secondaryname <display name>]

[-Lcid <language>]

[-Sitetemplate <site template>]

[-Title <site title>]

[-Description <site description>]

[-Hostheaderwebapplicationurl <web application URL>]

[-Quota <quota template>]

Parameters

Parameter Name and abbreviation form

Value

Required

Description

URL

A valid URL, such as http: // SERVER_NAME/explicit_sion sion or http: // SERVER_NAME/sites
/Site_name

Yes

The URL of the website set should be created in it. The URL should correspond to the explicit inclusion of the Web application or the path under the wildcard inclusion of the Web application.

Owneremail (OE)

A valid email address in someone@example.com format

Yes

The email address of the website owner.

Ownerlogin (OL)

If you use Windows authentication, you must use a domain name to specify a valid Windows User Name (for example, domain \ name ).

If you have configured form authentication, you can provide the user identity in the format of providername: username.

This parameter is required if the Active Directory Account creation mode is not enabled on the server farm.

This parameter is not required if the Active Directory Account creation mode is enabled on the server farm, because Windows SharePoint Services 3.0 automatically creates a website set owner account in Active Directory based on the owner's email address.

The User Account of the website owner.

Ownername (on)

A valid name, such as "Joe"

No

The name of the website owner.

Secondaryemail (SE)

A valid email address in someone@example.com format

No

The email address of the second website owner.

Secondarylogin (SL)

If you use Windows authentication, you must use a domain name to specify a valid Windows User Name (for example, domain \ name ).

If you have configured form authentication, you can provide the user identity in the format of providername: username.

This parameter is required if the Active Directory Account creation mode is not enabled on the server farm.

This parameter is not required if the Active Directory Account creation mode is enabled on the server farm, because Windows SharePoint Services 3.0 automatically creates a website set owner account in Active Directory based on the owner's email address.

The User Account of the second website owner.

Secondaryname (SN)

A valid name, such as "Fred"

No

The name of the second website owner.

Lcid

A valid Region ID. For example, "1033" indicates English

No

The language used to create a website.

Note: You must specify this parameter when using a language other than the installation language of the SharePoint template. Note: Make sure that the appropriate language template package is installed before you try to create a website in a language other than the language specified during installation.

Sitetemplate (ST)

By default, the following valid values are provided during installation:

  • STS #0: workgroup website

  • STS #1: blank website

  • STS #2: Document Workspace

  • MPs #0: Basic Meeting Workspace

  • MPs #1: blank Meeting Workspace

  • MPs #2: resolution Meeting Workspace

  • MPs #3: Social Networking Conference Workspace

  • MPs #4: Multi-page Meeting Workspace

  • Blog #0: blog

  • Wiki #0: Wiki website

Note: If you have used the addtemplate operation to add a template to the central template library, you must specify the Template Name as _ global _ # number, where number indicates the template ID.

No

Specifies the type of template to be used by the newly created website. If the template to be used is not specified, the owner can select a template when browsing the website for the first time.

The value must be in name # configuration format. If you do not specify a configuration (for example, STS), configuration 0 is the default value (for example, STS #0 ). You can customize the list of available templates to include the templates you have created. To display a list of custom templates, use enumtemplates.

Title (t)

Valid title

Note: If the title is enclosed in quotation marks, it can contain spaces, such as "new site ".

No

The title of the new website set.

It can contain a maximum of 255 characters.

Description (DESC)

A valid text string, such as "this is a description"

No

Description of the website set.

Hostheaderwebapplicationurl (hhurl)

A valid URL allocated to the Web application by using the standby access ing (AAM), such as "http: // SERVER_NAME"

No

IfHostheaderwebapplicationurlParameter,URLThe parameter value is the URL of the website set named by the host,HostheaderwebapplicationurlThe parameter value is the URL of the Web application that will host the website set named by the host.

For more information about website sets named by hosts, see plan website sets named by hosts (Windows SharePoint Services ).

Quota

A valid quota Template Name, for example, "personalquotas"

No

The quota template of the website to be applied to the virtual server.

 

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.