exchangefreaks.com Forum Index
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

How to read Outlook Properties

 
Post new topic   Reply to topic    exchangefreaks.com Forum Index -> MS Exchange Applications
Author Message
greatdane



Joined: 05 Aug 2007
Posts: 3

PostPosted: Tue Jan 02, 2007 12:20 pm    Post subject: How to read Outlook Properties Reply with quote

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
View user's profile Send private message
greatdane



Joined: 05 Aug 2007
Posts: 3

PostPosted: Tue Jan 02, 2007 2:54 pm    Post subject: Re: How to read Outlook Properties Reply with quote

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
View user's profile Send private message
greatdane



Joined: 05 Aug 2007
Posts: 3

PostPosted: Tue Jan 02, 2007 5:45 pm    Post subject: Re: How to read Outlook Properties Reply with quote

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
View user's profile Send private message
Henning Krause [MVP - Exc



Joined: 05 Aug 2007
Posts: 142

PostPosted: Tue Jan 02, 2007 11:17 pm    Post subject: Re: How to read Outlook Properties Reply with quote

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
View user's profile Send private message
Henning Krause [MVP - Exc



Joined: 05 Aug 2007
Posts: 142

PostPosted: Wed Jan 03, 2007 2:29 am    Post subject: Re: How to read Outlook Properties Reply with quote

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
View user's profile Send private message
Dave Goldman [MSFT]



Joined: 05 Aug 2007
Posts: 24

PostPosted: Fri Jan 26, 2007 5:34 am    Post subject: Re: How to read Outlook Properties Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    exchangefreaks.com Forum Index -> MS Exchange Applications All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group