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