GetOfficeMultiFactorAuthentication Method

The GetOfficeMultiFactorAuthentication method tells you whether an office has two-step authentication enabled at the office level. The method returns a value of 0 (disabled) or 1 (enabled).

The GetOfficeMultiFactorAuthentication method is invoked using the MethodOperation.

You can also retrieve two-factor authentication settings at the user account level using the GetUserMultiFactorAuthentication method.

Parameters

Name Type Description
OfficeID String The object ID of the SmartOffice office.

Examples

Request XML
<request version='1.0'>
    <header>
        <office>myoffice</office>
        <user>jdoe</user>
        <password>password</password>
    </header>
    <method>
        <GetOfficeMultiFactorAuthentication>
            <OfficeID>Office.1</OfficeID>
        </GetOfficeMultiFactorAuthentication>  
    </method>
</request>

Response XML
<response version="1.0">
    <header>
        <sessionClosed /> 
    </header>
    <method>
        <GetOfficeMultiFactorAuthentication>
            <OfficeMultiFactorAuthentication>
                <TwoWayAuthMode>0</TwoWayAuthMode>
            </OfficeMultiFactorAuthentication>
        </GetOfficeMultiFactorAuthentication> 
    </method>
    <_status>OK</_status> 
    <_systime>2017-09-27T22:45:07</_systime>
    <!-- Cost 16 mill seconds. --> 
</response>
Topic revision: 27 Sep 2017, 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