|
|
|
| Author |
Message |
greatdane
Joined: 05 Aug 2007 Posts: 3
|
Posted: Tue Jan 02, 2007 12:20 pm Post subject: How to read Outlook Properties |
|
|
Hello:
How could I get the first and last name of an Outlook Alias via code using
ASP.NET?
Thanks!
Archived from group: microsoft>public>exchange>applications |
|
| Back to top |
|
 |
greatdane
Joined: 05 Aug 2007 Posts: 3
|
Posted: Tue Jan 02, 2007 2:54 pm Post subject: Re: How to read Outlook Properties |
|
|
From the address book.
"Henning Krause [MVP - Exchange]" wrote:
> Hello,
>
> are you talking about a contact in a Public folder or private mailbox? Or a
> user/contact in Active Directory?
>
> Best regards,
> Henning Krause
>
> "greatdane" wrote in message
> @microsoft.com...
> > Hello:
> > How could I get the first and last name of an Outlook Alias via code using
> > ASP.NET?
> > Thanks!
> >
>
> |
|
| Back to top |
|
 |
greatdane
Joined: 05 Aug 2007 Posts: 3
|
Posted: Tue Jan 02, 2007 5:45 pm Post subject: Re: How to read Outlook Properties |
|
|
Thanks for the info. I will look in to it.
"Henning Krause [MVP - Exchange]" wrote:
> Well,
>
> those entries from the address book may come from both sources: From the
> Contacts folder of the logged on user, as well as the Active Directory.
>
> To query the Active Directory for the GAL, see
> http://www.infinitec.de/articles/exchange/getgal.aspx.
>
> To access Exchange mailboxes, you can use either WebDAV, or (if your ASP.NET
> code runs on the Exchange Server) ExOleDB with CDOEx. The latter one works
> using Interop, the WebDAV approach uses the HTTP Protocol.
>
> You can find plenty of WebDAV examples on the above website.
>
> Best regards,
> Henning Krause
>
>
> "greatdane" wrote in message
> @microsoft.com...
> > From the address book.
> >
> > "Henning Krause [MVP - Exchange]" wrote:
> >
> >> Hello,
> >>
> >> are you talking about a contact in a Public folder or private mailbox? Or
> >> a
> >> user/contact in Active Directory?
> >>
> >> Best regards,
> >> Henning Krause
> >>
> >> "greatdane" wrote in message
> >> @microsoft.com...
> >> > Hello:
> >> > How could I get the first and last name of an Outlook Alias via code
> >> > using
> >> > ASP.NET?
> >> > Thanks!
> >> >
> >>
> >>
>
> |
|
| Back to top |
|
 |
Henning Krause [MVP - Exc
Joined: 05 Aug 2007 Posts: 142
|
Posted: Tue Jan 02, 2007 11:17 pm Post subject: Re: How to read Outlook Properties |
|
|
Hello,
are you talking about a contact in a Public folder or private mailbox? Or a
user/contact in Active Directory?
Best regards,
Henning Krause
"greatdane" wrote in message @microsoft.com...
> Hello:
> How could I get the first and last name of an Outlook Alias via code using
> ASP.NET?
> Thanks!
> |
|
| Back to top |
|
 |
Henning Krause [MVP - Exc
Joined: 05 Aug 2007 Posts: 142
|
Posted: Wed Jan 03, 2007 2:29 am Post subject: Re: How to read Outlook Properties |
|
|
Well,
those entries from the address book may come from both sources: From the
Contacts folder of the logged on user, as well as the Active Directory.
To query the Active Directory for the GAL, see
http://www.infinitec.de/articles/exchange/getgal.aspx.
To access Exchange mailboxes, you can use either WebDAV, or (if your ASP.NET
code runs on the Exchange Server) ExOleDB with CDOEx. The latter one works
using Interop, the WebDAV approach uses the HTTP Protocol.
You can find plenty of WebDAV examples on the above website.
Best regards,
Henning Krause
"greatdane" wrote in message @microsoft.com...
> From the address book.
>
> "Henning Krause [MVP - Exchange]" wrote:
>
>> Hello,
>>
>> are you talking about a contact in a Public folder or private mailbox? Or
>> a
>> user/contact in Active Directory?
>>
>> Best regards,
>> Henning Krause
>>
>> "greatdane" wrote in message
>> @microsoft.com...
>> > Hello:
>> > How could I get the first and last name of an Outlook Alias via code
>> > using
>> > ASP.NET?
>> > Thanks!
>> >
>>
>> |
|
| Back to top |
|
 |
Dave Goldman [MSFT]
Joined: 05 Aug 2007 Posts: 24
|
Posted: Fri Jan 26, 2007 5:34 am Post subject: Re: How to read Outlook Properties |
|
|
You can write simple mapi code to do the trick, which is much more simple
then dav or using LDAP code. and just use emsabp32.dll to look up your
entries right from the address book. If you want to see specific properties
you can download MFCMapi and log on with an online profile, open the ab
hierarchy and see the gal. Once you are in the gal open your user and all
the MAPI properties are exposed.
http://support.microsoft.com/kb/291794
--
This posting is provided "AS IS" with no warranties, and confers no rights.
Dgoldman
http://blogs.msdn.com/dgoldman
"greatdane" wrote in message @microsoft.com...
> Thanks for the info. I will look in to it.
>
> "Henning Krause [MVP - Exchange]" wrote:
>
>> Well,
>>
>> those entries from the address book may come from both sources: From the
>> Contacts folder of the logged on user, as well as the Active Directory.
>>
>> To query the Active Directory for the GAL, see
>> http://www.infinitec.de/articles/exchange/getgal.aspx.
>>
>> To access Exchange mailboxes, you can use either WebDAV, or (if your
>> ASP.NET
>> code runs on the Exchange Server) ExOleDB with CDOEx. The latter one
>> works
>> using Interop, the WebDAV approach uses the HTTP Protocol.
>>
>> You can find plenty of WebDAV examples on the above website.
>>
>> Best regards,
>> Henning Krause
>>
>>
>> "greatdane" wrote in message
>> @microsoft.com...
>> > From the address book.
>> >
>> > "Henning Krause [MVP - Exchange]" wrote:
>> >
>> >> Hello,
>> >>
>> >> are you talking about a contact in a Public folder or private mailbox?
>> >> Or
>> >> a
>> >> user/contact in Active Directory?
>> >>
>> >> Best regards,
>> >> Henning Krause
>> >>
>> >> "greatdane" wrote in message
>> >> @microsoft.com...
>> >> > Hello:
>> >> > How could I get the first and last name of an Outlook Alias via code
>> >> > using
>> >> > ASP.NET?
>> >> > Thanks!
>> >> >
>> >>
>> >>
>>
>>
|
|
| Back to top |
|
 |
|
|