Fixed font Subject: how to check if a user exists in a particular OU/Group from java
Author: shivaraj Date: 21 May 2010
References:
Using Java's LDAP protocol, how to check if a user exists in a
particular OU/Group ?

I have one approach in which, get the distinguishedName for this user
and then remove the first CN part (username). This will be left with
OU part. Now check if this OU matches with the given OU. But does not
sound like a perfect solution to me. Any other better approaches?

Regards,
Shivaraj