RE: Customizing an Address List

  • From: "Michael B. Smith" <michael@xxxxxxxxxx>
  • To: "[ExchangeList]" <exchangelist@xxxxxxxxxxxxx>
  • Date: Mon, 27 Dec 2004 08:01:15 -0500

ADU&C and ESM allow you to build fairly complex queries - by example. In
ADU&C, click "Action -> Find".
When I need an LDAP browser, I tend to use Softerra's LDAP Browser. It's
Insofar as your specific query is concerned, I generally like to indent
things to show the program flow ('cuz a query is a program, albeit a
very limited one, of a sort). So something like this...


From: Joe Blow [mailto:cdrawers@xxxxxxxxx] 
Sent: Thursday, December 23, 2004 5:10 PM
To: [ExchangeList]
Subject: [exchangelist] Customizing an Address List 
Hello.  I'm new to the list.  Please excuse if this has already been

I'm attempting to customize an Address List in Exchange2003 and am
having trouble creating the query I want.  

I want a query which has certain users (based on Company field in AD)
and certain groups (based on the last few characters of the displayName)
in the list.

Each of the above work individually and I get back the results
correctly.  I'm just not sure how to get the query to return both sets
of data, nor do I know if that is allowed. 

Here are the specifics: 

This is my user query: 
(&(&(&(& (mailnickname=*) (|
rName=*))) )))(objectCategory=user)(company=CompanyName)))

it returns the right list of Exchange Users. 

This is my Group Query:
(&(&(&(& (mailnickname=*) (| (objectCategory=group)

I want the contents of my address list to be a combination of the above.
However, I'm struggling.  I've tried various combinations of the above
to get the right results back.  I've walked through the GUI, selecting
mailbox enabled users and groups and added (under advanced) the criteria
for users and for groups.  

I'm assuming the Anding and Or'ing of it all isn't working out.  The
samples I've seen on MSDN are exceedingly simple.  I'd like to find a
tool which allowed Query By Example functionality like MS Access
provides, except against and LDAP source, but haven't found something
like that. 

Any input is appreciated.  



Do you Yahoo!?
Yahoo! Mail - now with 250MB free storage. Learn more.
------------------------------------------------------ List Archives: Exchange
Newsletters: Exchange
------------------------------------------------------ Other Internet
Software Marketing Sites: World of Windows Networking: Leading Network Software Directory: No.1 ISA Server Resource Site: Windows Security Resource Site: Network Security Library: Windows 2000/NT Fax Solutions:
------------------------------------------------------ You are currently
subscribed to this Discussion List as: michael@xxxxxxxxxx
To unsubscribe visit Report abuse to

Other related posts: