PC Review


Reply
Thread Tools Rate Thread

Code to look up GAL

 
 
=?Utf-8?B?ZmVtZnJvZw==?=
Guest
Posts: n/a
 
      18th Apr 2007
Hi,

I'm looking for some sort of code that would query our Global Address List.
The reason I would like this is that all phone extensions are located on the
Global Address List and I would like to add this directory to our intranet
site.

There is a phone directory on the site but it queries an Access database
which is not kept up-to-date. It would be much simpler if the directory could
query our GAL since it's updated frequently.

Not all staff have Outlook so it's a good idea to have an updated list on
our site.

I'm using FP 2003.

Please note I'm still a newbie so the simplest wording would be greatly
appreciated.

Cheers,
Nicole
 
Reply With Quote
 
 
 
 
David Berry
Guest
Posts: n/a
 
      18th Apr 2007
In order to do this you will have to learn ASP or ASP.NET (or another
server-side code) and have access to your LDAP Server information (where the
Outlook Global Address List is stored). For example:

Assuming your LDAP is set up correctly and you have access to it you could
do something like this:

Set objRS =
oConn.Execute("<LDAP://SERVER/o=organization/ou=site/cn=recipients>;(object*Class=groupOfNames)")
' enter how you connect to your LDAP server above
While not objRS.EOF
member = objRS.fields("member").Value
objRS.MoveNext
wend

In the above you would change "member" to be whatever field you want to
display.

There are other articles here http://www.15seconds.com/focus/ADSI.htm

--
David Berry
Microsoft MVP - FrontPage
FrontPage Support: http://www.frontpagemvps.com/
-----------------------------------
To assist you in getting the best answers for FrontPage support see:
http://www.frontpagemvps.com/FrontPa...3/Default.aspx
-----------------------------------


"femfrog" <(E-Mail Removed)> wrote in message
news:0EB5CDE3-2CFE-41C1-8141-(E-Mail Removed)...
> Hi,
>
> I'm looking for some sort of code that would query our Global Address
> List.
> The reason I would like this is that all phone extensions are located on
> the
> Global Address List and I would like to add this directory to our intranet
> site.
>
> There is a phone directory on the site but it queries an Access database
> which is not kept up-to-date. It would be much simpler if the directory
> could
> query our GAL since it's updated frequently.
>
> Not all staff have Outlook so it's a good idea to have an updated list on
> our site.
>
> I'm using FP 2003.
>
> Please note I'm still a newbie so the simplest wording would be greatly
> appreciated.
>
> Cheers,
> Nicole



 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Linq to XML--Are there code examples that make Linq as easy as SQL? Or how can I convert ths simple pseudo code into real code? Reece Microsoft C# .NET 4 10th Dec 2008 03:13 AM
ATI Radeon Drivers - Code 43, Code 37 & Code 10 =?Utf-8?B?SmFrZQ==?= Windows Vista Hardware 14 29th Aug 2006 05:50 AM
ATI Display Drivers - Code 43, Code 37, Code 10 Jake Windows Vista Hardware 2 8th Jul 2006 04:00 PM
what is the difference between code inside a <script> tag and code in the code-behind file? keithb Microsoft ASP .NET 1 29th Mar 2006 02:00 AM
[New] Zipoid - ZIP Code, City Name and Area Code Lookup - Zip Code to Zip Code Distance Calculation Mel Freeware 0 22nd Jul 2005 04:13 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 02:06 PM.