SP.WebCreationInformation object

Specifies the properties of a new site.

Applies to: apps for SharePoint | SharePoint Foundation 2013 | SharePoint Server 2013

var object = new SP.WebCreationInformation()

Members

The WebCreationInformation object has the following members.

Constructor

The WebCreationInformation object has the following constructor.

Constructor

Description

WebCreationInformation

Initializes a new instance of the SP.WebCreationInformation object.

Methods

The WebCreationInformation object has the following methods.

Method

Description

initPropertiesFromJson

writeToXml

Properties

The WebCreationInformation object has the following properties.

Property

Description

description

Gets or sets the description of the new site.

language

Gets or sets the locale ID that specifies the language of the new site.

title

Gets or sets a value that specifies the title of the new site.

typeId

This member is reserved for internal use and is not intended to be used directly from your code.

url

Gets or sets the URL leaf name of the new site.

useSamePermissionsAsParentSite

Gets or sets a value that specifies whether the new site will inherit permissions from its parent site.

webTemplate

Gets or sets a value that specifies the name of the site template to be used for creating the new site.