title: Querying the Global Address List (GAL) for users across domains
body: <p>I need to search for all users containing a certain text string in their name against the Exchange Server Global Address List. This operation will be performed from an ASP.NET application. Note that the GAL is required (not Active Directory) as it contains users across domains. It's also what the customer requested.</p>
  
  <p>I've been looking at Exchange Web Services and Outlook Web Access methods. However neither may be configured in my organisation so I need to know which option is the right one  before asking infrastructure to configure it.</p>
  
  <p><strong>Exchange Web Services</strong></p>
  
  <p>I hoped to use the <a href="http://msdn.microsoft.com/en-us/library/aa563518.aspx" rel="nofollow noreferrer">ResolveNames</a> method in Exchange Web Services. The documentation for it states that:</p>
  
  <blockquote>
    <p>Active Directory is searched first, and then the user's contact folder is searched.</p>
  </blockquote>
  
  <p>It appears to imply that this method will only return users from the current domain. Is this correct?</p>
  
  <p><strong>Outlook Web Access</strong></p>
  
  <p>The other option I found was GALFind. This looks perfect but <a href="http://blogs.msdn.com/webdav_101/archive/2008/06/11/getting-a-list-of-mailboxes.aspx" rel="nofollow noreferrer">this article</a> stated that it is <em>unsupported</em>. It is confirmed as no longer available in this <a href="http://technet.microsoft.com/en-us/library/aa998911.aspx" rel="nofollow noreferrer">Technet</a> article.</p>
  
  <p>Can anyone please give advice on these or any other options?</p>