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)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top