Solved

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

Posted on 2014-09-11
2
396 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
ID: 40319345
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
ID: 40323880
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

Comprehensive Backup Solutions for Microsoft

Acronis protects the complete Microsoft technology stack: Windows Server, Windows PC, laptop and Surface data; Microsoft business applications; Microsoft Hyper-V; Azure VMs; Microsoft Windows Server 2016; Microsoft Exchange 2016 and SQL Server 2016.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Describes a method of obtaining an object variable to an already running instance of Microsoft Access so that it can be controlled via automation.
Is your Office 365 signature not working the way you want it to? Are signature updates taking up too much of your time? Let's run through the most common problems that an IT administrator can encounter when dealing with Office 365 email signatures.
In Microsoft Access, learn how to “cascade” or have the displayed data of one combo control depend upon what’s entered in another. Base the dependent combo on a query for its row source: Add a reference to the first combo on the form as criteria i…
This video shows how to use Hyena, from SystemTools Software, to bulk import 100 user accounts from an external text file. View in 1080p for best video quality.

809 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