3.1.4.9.2.1 CreateWeb

Defines the input parameters for the CreateWeb operation.

 <s:element name="CreateWeb">
   <s:complexType>
     <s:sequence>
       <s:element minOccurs="1" maxOccurs="1" name="url" type="s:string" />
       <s:element minOccurs="1" maxOccurs="1" name="title" type="s:string" />
       <s:element minOccurs="0" maxOccurs="1" name="description" type="s:string" />
       <s:element minOccurs="1" maxOccurs="1" name="templateName" type="s:string" />
       <s:element minOccurs="0" maxOccurs="1" name="language" type="s:unsignedInt" />
       <s:element minOccurs="0" maxOccurs="1" name="locale" type="s:unsignedInt" />
       <s:element minOccurs="0" maxOccurs="1" name="collationLocale" type="s:unsignedInt" />
       <s:element minOccurs="0" maxOccurs="1" name="uniquePermissions" type="s:boolean" />
       <s:element minOccurs="0" maxOccurs="1" name="anonymous" type="s:boolean" />
       <s:element minOccurs="0" maxOccurs="1" name="presence" type="s:boolean" />
     </s:sequence>
   </s:complexType>
 </s:element>

url: The site-relative URL of the subsite to be created.

title: The display name of the subsite to be created.

description: The description of the subsite to be created. If this element is omitted, an empty string MUST be used.

templateName: The name of an available site template to be used for the subsite to be created. MUST match a value in GetSiteTemplatesResponse/TemplateList/Template/@Name as would be returned by a call to GetSiteTemplates (section 3.1.4.5).

language: An LCID that specifies the language of the user interface of the subsite to be created. If omitted or zero, the subsite to be created MUST use the server’s default language for the user interface.

locale: An LCID that specifies the display format for numbers, dates, times, and currencies in the subsite to be created. If omitted or zero, specifies that the subsite to be created MUST use the server’s default settings for displaying data.

collationLocale: An LCID that specifies the collation order to use in the subsite to be created. If omitted or zero, specifies that the subsite to be created MUST use the server’s default collation order.

uniquePermissions: If set to true, specifies that the subsite to be created uses its own set of permissions, which default to the current user having full control and no other users having access.  If set to false or omitted, the subsite to be created MUST inherit its permissions from its parent site.

anonymous: If set to true, the anonymous authentication is to be allowed for the subsite to be created. If set to false or omitted, the anonymous authentication MUST NOT be allowed for the subsite to be created.

presence: If set to true, the online presence information is to be enabled for the subsite to be created. If set to false or omitted, the online presence information MUST NOT be enabled for the subsite to be created.<17>