Solved

LDAP Query - Exclude Exchange Users Hidden from Address Books

Posted on 2007-03-21
6
2,585 Views
Last Modified: 2008-05-31
How can I change an LDAP Query to stop Exchange users who have been hidden from Address Lists from showing up? All I use at the moment is;
(objectClass=user)
0
Comment
Question by:NeoI5theOne
  • 2
  • 2
  • 2
6 Comments
 
LVL 35

Expert Comment

by:rakeshmiglani
ID: 18762707
Add msExchHideFromAddressLists=FALSE
0
 

Author Comment

by:NeoI5theOne
ID: 18762925
Yeah, I had tried this already, but it doesn't work. What am I doing wrong?

(&(msExchHideFromAddressLists=FALSE)(objectClass=user))
0
 
LVL 35

Assisted Solution

by:rakeshmiglani
rakeshmiglani earned 100 total points
ID: 18763085
the msExchHideFromAddressLists attribute is set to <Not Set> if the user is not hidden from the GAL.
0
Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

 
LVL 30

Expert Comment

by:LauraEHunterMVP
ID: 18763129
To query on a <Not Set> attribute, you would need to use a "NOT" query like this one:

(&(objectClass=user)(objectCategory=Person)(!msExchHideFromAddressLists=FALSE))

In other words: "show me the users where this attribute is NOT set to FALSE."
0
 
LVL 30

Accepted Solution

by:
LauraEHunterMVP earned 400 total points
ID: 18763137
Sorry, was typing too quicklly (and it's too early in the morning):


(&(objectClass=user)(objectCategory=Person)(!msExchHideFromAddressLists=*))

In other words: "show me the users where this attribute has NOT been set to any value."
0
 

Author Comment

by:NeoI5theOne
ID: 18763303
Worked perfectly, thanks
0

Featured Post

Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Last week, our Skyport webinar on “How to secure your Active Directory” (https://www.experts-exchange.com/videos/5810/Webinar-Is-Your-Active-Directory-as-Secure-as-You-Think.html?cid=Gene_Skyport) provided 218 attendees with a step-by-step guide for…
A project that enables an administrator to perform actions within a user session context not just at the time of login but any time later on day(s) or week(s) later.
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …
This video shows how to quickly and easily add an email signature for all users on Exchange 2016. The resulting signature is applied on a server level by Exchange Online. The email signature template has been downloaded from: www.mail-signatures…

820 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question