Solved

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

Posted on 2014-09-11
2
439 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 85

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

PeopleSoft Has Never Been Easier

PeopleSoft Adoption Made Smooth & Simple!

On-The-Job Training Is made Intuitive & Easy With WalkMe's On-Screen Guidance Tool.  Claim Your Free WalkMe Account Now

Question has a verified solution.

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

Had a business requirement to store the mobile number in an environmental variable. This is just a quick article on how this was done.
Compliance and data security require steps be taken to prevent unauthorized users from copying data.  Here's one method to prevent data theft via USB drives (and writable optical media).
Microsoft Active Directory, the widely used IT infrastructure, is known for its high risk of credential theft. The best way to test your Active Directory’s vulnerabilities to pass-the-ticket, pass-the-hash, privilege escalation, and malware attacks …
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …
Suggested Courses

617 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