Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

how to check if a user exists in a particular OU/Group from java

9 views
Skip to first unread message

shivaraj

unread,
May 21, 2010, 2:49:17 AM5/21/10
to
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

0 new messages