Can anyone direct me to some simple ASP code samples to do the following?

I'd like to, given a UID, check to see if an individual in a public
directory is part of a given OU.

I've noticed that for a given person there can be several OU's, so I don't
think it'd be possible to select an OU. However, can I select cn where UID
= xxx and OU = xxx and then check to see if it's not null? Thoughts? (if
so, how?)

Thanks!

PS: didn't know whether to put this in here or an LDAP group... ng
suggestions are welcome. :)

--
Mike