September 28th, 2004, 09:53 AM
filter by empty string
Hi, i'm new to LDAP and i need to create a filter string to search for all attributes that do not have entry in them.
What is the java syntax to do that?
September 28th, 2004, 12:54 PM
Why java? you don't use java syntax for it, you'd use a ldap filter to find it. The easiest way would be like this:
To get more then one attribute you must add to it, you can do.
Goto this thread and find RFC 2254 it explains how an ldap filter works.
September 28th, 2004, 01:04 PM
Viper_SB, you are right i didn't mean java syntax, i meant ldap filter query.
Thank you i'll try that.