Exchange 2007 Resource Manager::QueryConsumersByOrganization

This procedure returns the mailboxes and public folders owned by an organization.

It returns all consumers (mailboxes and public folders) of an organization or tenant by either an orgGUID or the currently accepted organization parameter.

This procedure for Hosted Messaging and Collaboration version 4.5 handles the scenario where either the organization GUID or or a mailbox GUID cannot be found in Active Directory. This scenario is indicated by presenting an empty path in the output. An empty path node indicates an "orphaned" Organization or Mailbox.

 Sample Code
 Applies To
 See Also