Active Directory: search for user objects

I use the search filter (objectclass = user) "to search for user objects, but of course it also returns computers because the computer also has a user in its object class. How can I create a filter to return objects to users, not objects that are inherited from the user?

+7
active-directory ldap
source share
1 answer
(&(objectClass=user)(objectCategory=person)) 

(via msdn )

+13
source share

All Articles