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.
Arguments | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Input Schema for Hosted Messaging and
Collaboration version 4.0 and earlier
Input Schema for Hosted Messaging and
Collaboration version 4.5
Output Schema for Hosted Messaging and
Collaboration version 4.0 and earlier
Output Schema for Hosted Messaging and
Collaboration version 4.5
|
Remarks | ||||||
This procedure handles the scenario where either the organization GUID cannot be found in Active Directory or a mailbox GUID (Active Directory user object GUID from ExchMailbox07) cannot be found in Active Directory by presenting an empty path in the output. An empty path node will be indication of an "orphaned" Organization or Mailbox. Security for Hosted Messaging and
Collaboration version 4.0 and earlier
The caller must be at least a member of role: UserCreators Security for Hosted Messaging and
Collaboration version 4.5
If organization is specified, there will be no explicit permissions tests, effective permissions is UserCreators. If orgGUID is specified, procedure must test for more restrictive DomainAdmins. Error Handling
|
Sample Code |
Example XML Request 1
Example XML Request 2
Example XML Response 1
|
Applies To |
Exchange 2007 Resource
Manager Namespace for:
|
See Also |