Exchange Mobility Provider::GetActiveSyncDevices

The GetActiveSyncDevices method retrieves a list of devices for the specified user that have been synched with the Exchange server.

Arguments

Input argument Required Description

<path>

Yes

The Lightweight directory access protocol (LDAP) path of the user. Type=string.

<PreferredDomainController>

Yes

The name of the preferred domain controller in the Service Provider domain. Type=string.

Remarks

Rollback

For the GetActiveSyncDevices method, rollback is not implemented.

Sample Code

Example XML Request

The following is an example of an XML request for the GetActiveSyncDevices method of the Exchange Mobility Provider:

<request> 
        <procedure> 
                <execute namespace="Exchange Mobility Provider" procedure="GetActiveSyncDevices" impersonate="1"> 
                        <executeData> 
                                <path>LDAP://CN=user@alpineskihouse.com,OU=AlpineSkiHouse, 
                                OU=ConsolidatedMessengerOU=Hosting,DC=Fabrikam,DC=Com</path> 
                                <preferreddomaincontroller>ad01.fabrikam.com 
                                </preferreddomaincontroller> 
                        </executeData> 
                        <after source="executeData" destination="data" mode="merge"/> 
                </execute> 
        </procedure> 
</request> 

Example XML Response

The following is an example of an XML response for the GetActiveSyncDevices procedure of the Exchange Mobility Provider:

<response> 
        <data> 
                <devices> 
                        <device> 
                                <type>SmartPhone</type> 
                                <id>646772464373223</id> 
                                <wipeStatus> 
                                        <d:wipeinitiated /> 
                                        <d:wipesent /> 
                                        <d:wipeacknowledged /> 
                                </wipeStatus> 
                        </device> 
                </devices> 
        </data> 
</response> 

Applies To

Exchange Mobility Provider API for:

  • Hosted Messaging and Collaboration version 3.5

See also

Tasks

Exchange Mobility Provider::WipeActiveSyncDevice