Creates an infoRouter domain/library.

Syntax

Visual Basic (declaration)
Public Function CreateDomain( _ 
ByVal AuthenticationTicket as String, _ ByVal DomainName as String, _ ByVal Anonymous as bool, _ ByVal Hidden as bool, _ ByVal WelcomeMessage as String) as XmlNode

C# (declaration)
public XmlNode CreateDomain( 
string AuthenticationTicket, string DomainName, bool Anonymous, bool Hidden, string WelcomeMessage)

Parameters

AuthenticationTicket
    string inforouter ticket
DomainName
    string Name of the domain to be created.
Anonymous
    bool Specifies whether created domain available for the anonymous or not.
Hidden
    bool Sets the hidden flag of the created domain
WelcomeMessage
    string Sets the welcome message of the created domain for new users.

Return Value

returns xml fragment.
<response success="true" error="">
if success attribute is "true", the domain has been created successfully.
if success attribute is "false", the error attribute indicates the encountered error.

Remarks

The caller must be the system administrator.
Special characters may not be used in object names.
Maximum allowable domain name size is 30 characters.