I am new to LDAP. I am trying to query AD about all accounts without manager. The following query will give all the accounts with or without managers.
&(objectCategory=person)(objectClass=user)(!(manager=*)
Does anyone know how to write a query to get all AD accounts without manager?
Thanks!
&(objectCategory=person)(objectClass=user)(!(manager=*)
Does anyone know how to write a query to get all AD accounts without manager?
Thanks!