September 28th, 2004, 08: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, 11:54 AM
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, 12:04 PM
Viper_SB, you are right i didn't mean java syntax, i meant ldap filter query.
Thank you i'll try that.