Hi,
I'm using the query below to search for active users, I want to also pull back contacts, when I add (objectClass=contact) to the query it doesn't return anything. What am I doing wrong and can I do this in one query? Thanks
(&(objectCategory=Person)(objectClass=user)(!userAccountControl:1.2.840.113556.1.4.803:=2))
Many thanks