473,396 Members | 1,987 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

GAL List

Is there a way to get the email address list from Global Address Book using
Active Directory or some other method without Outlook or
any other COM program? Outlook displays the dialog box when you
try to access an email address, and that gets annoying really fast. I am
converting an Outlook Form to C# program, because of the problems with
Outlook / CDO
new security features and I need to display the Global Address List for the
user. An example of how to get a list of Active Directory users will do the
trick for me also.
Thank you

Peter
Nov 16 '05 #1
2 5209
Peter,

If you want to get a list of Active Directory users, then you can use
the classes in the System.DirectoryServices namespace to query the AD store.

However, I doubt that there will be any way to get around the security
features of Outlook. The whole purpose of those features is to prevent
outside programs from accessing functionality in Outlook without knowledge
of the person. Granted, I find it annoying as well at times.

Hope this helps.
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard.caspershouse.com

"Peter" <cz****@wsinc.com> wrote in message
news:OF*************@TK2MSFTNGP12.phx.gbl...
Is there a way to get the email address list from Global Address Book using Active Directory or some other method without Outlook or
any other COM program? Outlook displays the dialog box when you
try to access an email address, and that gets annoying really fast. I am
converting an Outlook Form to C# program, because of the problems with
Outlook / CDO
new security features and I need to display the Global Address List for the user. An example of how to get a list of Active Directory users will do the trick for me also.
Thank you

Peter

Nov 16 '05 #2
Thank you for such a quick answer. I will check out the
System.DirectoryServices.

I understand about the reason for the security, but my biggest problem is
that the Outlook forms that used to work fine now don't work only for some
people and I don't have access to those machines. (They are all running the
same version of Outlook)
"Nicholas Paldino [.NET/C# MVP]" <mv*@spam.guard.caspershouse.com> wrote in
message news:ua****************@TK2MSFTNGP12.phx.gbl...
Peter,

If you want to get a list of Active Directory users, then you can use
the classes in the System.DirectoryServices namespace to query the AD store.
However, I doubt that there will be any way to get around the security
features of Outlook. The whole purpose of those features is to prevent
outside programs from accessing functionality in Outlook without knowledge
of the person. Granted, I find it annoying as well at times.

Hope this helps.
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard.caspershouse.com

"Peter" <cz****@wsinc.com> wrote in message
news:OF*************@TK2MSFTNGP12.phx.gbl...
Is there a way to get the email address list from Global Address Book

using
Active Directory or some other method without Outlook or
any other COM program? Outlook displays the dialog box when you
try to access an email address, and that gets annoying really fast. I am converting an Outlook Form to C# program, because of the problems with
Outlook / CDO
new security features and I need to display the Global Address List for

the
user. An example of how to get a list of Active Directory users will do

the
trick for me also.
Thank you

Peter


Nov 16 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

6
by: massimo | last post by:
Hey, I wrote this program which should take the numbers entered and sort them out. It doesnąt matter what order, if decreasing or increasing. I guess I'm confused in the sorting part. Anyone...
10
by: Kent | last post by:
Hi! I want to store data (of enemys in a game) as a linked list, each node will look something like the following: struct node { double x,y; // x and y position coordinates struct enemy...
24
by: Robin Cole | last post by:
I'd like a code review if anyone has the time. The code implements a basic skip list library for generic use. I use the following header for debug macros: /* public.h - Public declarations and...
4
by: JS | last post by:
I have a file called test.c. There I create a pointer to a pcb struct: struct pcb {   void *(*start_routine) (void *);   void *arg;   jmp_buf state;   int    stack; }; ...
3
by: chellappa | last post by:
hi this simple sorting , but it not running...please correect error for sorting using pointer or linked list sorting , i did value sorting in linkedlist please correct error #include<stdio.h>...
0
by: drewy2k12 | last post by:
Heres the story, I have to create a doubly linked list for class, and i have no clue on how to do it, i can barely create a single linked list. It has to have both a head and a tail pointer, and...
10
by: AZRebelCowgirl73 | last post by:
This is what I have so far: My program! import java.util.*; import java.lang.*; import java.io.*; import ch06.lists.*; public class UIandDB {
0
by: Atos | last post by:
SINGLE-LINKED LIST Let's start with the simplest kind of linked list : the single-linked list which only has one link per node. That node except from the data it contains, which might be...
12
by: kalyan | last post by:
Hi, I am using Linux + SysV Shared memory (sorry, but my question is all about offset + pointers and not about linux/IPC) and hence use offset's instead on pointers to store the linked list in...
7
by: QiongZ | last post by:
Hi, I just recently started studying C++ and basically copied an example in the textbook into VS2008, but it doesn't compile. I tried to modify the code by eliminating all the templates then it...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.