O'Reilly logo

Inside Microsoft® Exchange Server 2007 Web Services by Huw Upshall, Mark Taylor, Ben Spain, Michael Mainer, David Sterling

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

ExpandDL

ResolveNames returns matching distribution lists, but it is often desirable to retrieve the members of a distribution list. This is where the ExpandDL Web method comes into play. Let’s look at the basic structure of an ExpandDL request, as shown in Example 6-23.

Example 6-23. Basic structure of ExpandDL

<ExpandDL xmlns=".../messages"
  <Mailbox/>
</ExpandDL>

Another simple Web method. You can expand one single distribution list at a time, as can be seen by the single Mailbox element. Now, what may not be clear is that you can expand both Store and Active Directory distribution lists. The secret to this lies in the Mailbox element.

If the EmailAddress element is filled in, then you are trying to expand an Active Directory distribution list. ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required