Hi,

Finding out which user owns which primary e-mail address is easy, using
ADSI.

However I could not determine a way to query any e-mail address, including
secondary e-mail addresses without going through all the contacts and
parsing their e-mail addresses array. Is there a shorter, less demanding
way?



Amit

Re: Resolving e-mail addresses using VBScript by Joe

Joe
Sat Feb 19 12:09:08 CST 2005

Query against the proxyaddresses attribute. Remember that that attribute handles
all address types so you will have to prepend the address type label onto the
address when searching.

I.E. If searching for an smtp email address bob@somedomain.com you would search for

proxyAddresses=smtp:bob@somedomain.com

joe

--
Joe Richards Microsoft MVP Windows Server Directory Services
www.joeware.net


Amit Zinman wrote:
> Hi,
>
> Finding out which user owns which primary e-mail address is easy, using
> ADSI.
>
> However I could not determine a way to query any e-mail address, including
> secondary e-mail addresses without going through all the contacts and
> parsing their e-mail addresses array. Is there a shorter, less demanding
> way?
>
>
>
> Amit
>
>

Re: Resolving e-mail addresses using VBScript by Dmitry

Dmitry
Sat Feb 19 12:34:37 CST 2005

Use Namespace.CreateRecpient in Outlook Object Model, the call
Recipient.Resolve.

Dmitry Streblechenko (MVP)
http://www.dimastr.com/
OutlookSpy - Outlook, CDO
and MAPI Developer Tool

"Amit Zinman" <amitzinman@gmail.com> wrote in message
news:egUtwKoFFHA.3840@tk2msftngp13.phx.gbl...
> Hi,
>
> Finding out which user owns which primary e-mail address is easy, using
> ADSI.
>
> However I could not determine a way to query any e-mail address, including
> secondary e-mail addresses without going through all the contacts and
> parsing their e-mail addresses array. Is there a shorter, less demanding
> way?
>
>
>
> Amit
>
>