Link to home
Start Free TrialLog in
Avatar of angelarmando
angelarmando

asked on

Searching for AD "Direct Reports" or "Report to" using Access 2013 VBA

Hi Experts,

I'm looking for an efficient VBA function that can search for LDAP (AD) items base on who is logged in.
In this case, I'm looking for "Direct Reports" usernames.

Thanks in Advance!
ASKER CERTIFIED SOLUTION
Avatar of Scott McDaniel (EE MVE )
Scott McDaniel (EE MVE )
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of angelarmando
angelarmando

ASKER

Hi Scott,

Thanks for your reply. The Code on your link worked like a charm! I can see AD object now!

Now since the schema is a sea of information. How do you will approach the search in my point of view?

In my case, if I have a username of AD, I want to know their "chain of command" one level up and one level down. For example, If I'm a supervisor, I want to get the usernames of my direct reports (down) and my manager (up).

Any ideas?