Share via


Hosted Exchange::GetModifiedOrganizations

This procedure retrieves a list of organizations that have had membership changes in a given timeframe.

Arguments

Input argument Required Description

startDate

Yes

Any valid date time.

endDate

Yes

Any valid date time.

preferredDomainController

Yes

FQDN of a domain controller.

maximumRows

No

The maximum number of rows (organizations) that will be returned by the query. The limit is 4096 by default.

Output argument Description

<orgs>/<org>

The collection of modified organizations.

Remarks

Provisioning Steps

  1. Hosted Exchange::ExecPlanSQL_

Security

  • Impersonate caller.

  • Procedure ACL'd to only allow MPSOabUpdateAccts execution rights. This is a manual step documented in ref architecture deployment.

Sample Code

Example XML Request

<request xmlns:xsl="https://www.w3.org/1999/XSL/Transform">   
        <procedure xmlns:xsl='https://www.w3.org/1999/XSL/Transform'>     
                <execute namespace="Hosted Exchange" procedure="GetModifiedOrganizations" impersonate="1">       
                        <executeData>         
                                <startDate>11/16/2003</startDate>         
                                <endDate>12/03/2003 23:59:59</endDate>        
                                <maximumRows>10000</maximumRows>         
                                <preferredDomainController>AD01.fabrikam.com</preferredDomainController>       
                        </executeData>       
                        <after source="executeData" destination="data" mode="merge"/>     
                </execute>   
        </procedure> 
</request>

Example XML Response

<response>   
        <data>     
                <preferredDomainController>AD01-wh.fabrikam.com</preferredDomainController>     
                <startDate>11/16/2003</startDate>     
                <endDate>12/03/2003 23:59:59</endDate>     
                <orgs>       
                        <org>LDAP://OU=alpineskihouse,OU=consolidatedmessenger,OU=Hosting,DC=fabrikam,DC=com</org>       
                        <org>LDAP://OU=FourthCoffee,OU=consolidatedmessenger,OU=Hosting,DC=fabrikam,DC=com</org>       
                        <org>LDAP://OU=contoso,OU=consolidatedmessenger,OU=Hosting,DC=fabrikam,DC=com</org>     
                </orgs>   
        </data> 
</response>

Applies To

Hosted Exchange Namespace API for:

  • Hosted Messaging and Collaboration version 3.5

  • Hosted Messaging and Collaboration version 3.0