You are here: Function Reference > Site Functions > CreateSite

CreateSite

 

Function

CreateSite Description

Creates a new site

 

Arguments

SiteStruct – site to be created as a structure.

Struct

 

Return Value

ID of the site created

 

Notes

Leave the SiteID of SiteStruct empty.

SiteName and HostName are required.

SiteName has to be unique for the server.

HostName should have the URL form starting from ‘http://’ or ‘https://’.

 

Rights

You have to be a server admin

  

Return Data Type

int

 

Access Rights (learn more)

 

List Site Server Listname Required

 

  x  

 

Version 

ListManager 10.0