AD property to identify a mail user?

  • Thread starter Thread starter Arlyn Johns
  • Start date Start date
A

Arlyn Johns

I am attempting to get a list from AD of all users that have exchange
mailboxes. Is there a property of the user container that would
indicate that the user in a mail reciepient? The filter I am using
(objectClass=user) is not specific enough and is returning guest and
service accounts that I am not interested in.

Thanks!
 
One way would be
(&(objectcategory=person)(msExchHomeServerName=*))

to get all the users that have msExchHomeServerName attribute set.

--

Regards

Matjaz Ladava, MCSA, MCSE, MCT, MVP
Microsoft MVP Windows Server - Active Directory
(e-mail address removed), (e-mail address removed)
 
Back
Top