Query Active Directory for current user's OU?

J

JMMRail

I using Access 2003 and can determine the currently logged-in user, but want
to in turn look up in Active Directory the current user's Organizational
Unit. The goal is to use the Windows Login, and based on the corresponding
OU, establish what aspects of the application that user may have access to.

What I'm looking for is a function (using VBA) to get this information back
out of AD, and in turn, pass the user's OU to a global variable for use by
the application.

I'm not a programmer, so well commented code would be most helpful (so I
have some idea how this works)!?!
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top