GetConfiguration Method

The GetConfiguration method retrieves the content of an element in the SmartOffice server config.xml file.

The GetConfiguration method is invoked using the MethodOperation.

Parameters

Name Type Description
Key String Required. This is the element in the config.xml file whose content you want to retrieve.

Examples

The following example retrieves the content of the <lockAfterLoginFailures> element, a child of the <passwordOptions> element.

Request XML
<request version='1.0'>
    <header>
        <office>myoffice</office>
        <user>jdoe</user>
        <password>password</password>
    </header>
    <method>
        <GetConfiguration>
            <Key>passwordOptions.lockAfterLoginFailures</Key>
        </GetConfiguration>
    </method>
</request>

Response XML
<response version="1.0">
    <header>
        <sessionClosed/>
    </header>
    <method>
        <GetConfiguration>
            <passwordOptions.lockAfterLoginFailures>3</passwordOptions.lockAfterLoginFailures>
        </GetConfiguration>
    </method>
    <_status>OK</_status>
    <_systime>2015-10-20T22:31:00</_systime>
    <!--Cost 25 mill seconds.-->
</response>
Topic revision: 20 Oct 2015, DinosLambropoulos
 

This site is powered by FoswikiCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding Foswiki? Send feedback