Solved

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

Posted on 2014-09-11
2
375 Views
Last Modified: 2014-09-18
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!
0
Comment
Question by:angelarmando
2 Comments
 
LVL 84

Accepted Solution

by:
Scott McDaniel (Microsoft Access MVP - EE MVE ) earned 500 total points
Comment Utility
What do you have so far? If you can post your code, the Experts here might be able to help you tweak it.

This EE question might help:

http://www.experts-exchange.com/Software/Server_Software/Active_Directory/Q_28515948.html
0
 

Author Comment

by:angelarmando
Comment Utility
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?
0

Featured Post

Highfive Gives IT Their Time Back

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Suggested Solutions

Mapping Drives using Group policy preferences Are you still using old scripts to map your network drives if so this article will show you how to get away for old scripts and move toward Group Policy Preference for mapping them. First things f…
I originally created this report in Crystal Reports 2008 where there is an option to underlay sections. I initially came across the problem in Access Reports where I was unable to run my border lines down through the entire page as I was using the P…
Familiarize people with the process of retrieving data from SQL Server using an Access pass-thru query. Microsoft Access is a very powerful client/server development tool. One of the ways that you can retrieve data from a SQL Server is by using a pa…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…

763 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

9 Experts available now in Live!

Get 1:1 Help Now