A Forum reader recently asked:
"I need to know how many users I have per container, so I found the DSI Flags to get information about one object. Is an SDK available to make a Java program that can be invoked via scripting to get that info?"
And here's the reply from Akos Szechy ...
No ideas about Java, but if you can do an LDAP query (which should work from Java) you can ask for the operational attributes with a " " sign. You will find a subordinate count there, like this:
ldapsearch -h host -p 389 -x -D cn=admin,o=services -w password -s base -b