Returns the properties of the specified domain/library.

Syntax

Visual Basic (declaration)
Public Function GetDomain( _ 
ByVal AuthenticationTicket as String, _ ByVal DomainName as String) as XmlNode

C# (declaration)
public XmlNode GetDomain( 
string AuthenticationTicket, string DomainName)

Parameters

AuthenticationTicket
    string infoRouter ticket
DomainName
    string An infoRouter Domain/Library Name

Return Value

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

<response success="true" error="">
<domain DomainID="10124" DomainName="Accounting" AnonymousDomain="FALSE" IsArchive="FALSE" IsHidden="FALSE" WelcomeMessage=""/>
</response>

See Also