Solved

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

Posted on 2014-09-11
2
423 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Office 365 Training for Admins - 7 Day Trial

Learn how to provision tenants, synchronize on-premise Active Directory, implement Single Sign-On, customize Office deployment, and protect your organization with eDiscovery and DLP policies.  Only from Platform Scholar.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Domain controller sizing 7 62
List all groups and nested groups in AD with powershell 4 34
Outlook mail to Access 8 31
active directory 3 28
This article shows the method of using the Resultant Set of Policy Tool to locate Group Policy that applies a particular setting.
In earlier versions of Windows (XP and before), you could drag a database to the taskbar, where it would appear as a taskbar icon to open that database.  This article shows how to recreate this functionality in Windows 7 through 10.
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…
In Microsoft Access, learn how to use Dlookup and other domain aggregate functions and one method of specifying a string value within a string. Specify the first argument, which is the expression to be returned: Specify the second argument, which …

752 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