I want to create LDAP query to filter printers by name and location and model
deSearch.Filter = String.Format("(&(&(&(&(objectCategory=printQueue)(printername={0}))(location={1}))(driverName={2})))", queueName, location, modelNumber);
I create this but it didn't run correctly
- The first problem is to search by all search criteria together
- if one of criteria is empty or null ,I set it by * to get all results .Is it correct ?
All ideas are welcomed
