Solved

Accessing data in Active Directory

Posted on 2002-06-09
3
134 Views
Last Modified: 2010-05-02
thanks for reading this post. Is there anything in VB that will allow you to access data from active directory? For example, I would like to find out which group(s) a particular user is a member of. I appreciate any lead you may have.


__________________
Thanks in advance for your reply !
0
Comment
Question by:allanau20
[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
3 Comments
 
LVL 70

Accepted Solution

by:
Éric Moreau earned 50 total points
ID: 7065685
0
 
LVL 5

Expert Comment

by:RainUK
ID: 7067795
You need to look in MSDN and check out LDAP access. This will provide you with ActiveX objects which bind to objects in Active Directory look up iadsUser and iadsGroup.

There are loads of VB code examples which will help you hook up to ADs and bind to that object.
0
 
LVL 5

Author Comment

by:allanau20
ID: 7074098
That was fast and reliable.  Now I know how to do what I need to do.  Thanks so much !
0

Featured Post

[Webinar] Learn How Hackers Steal Your Credentials

Do You Know How Hackers Steal Your Credentials? Join us and Skyport Systems to learn how hackers steal your credentials and why Active Directory must be secure to stop them. Thursday, July 13, 2017 10:00 A.M. PDT

Question has a verified solution.

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

Introduction While answering a recent question (http://www.experts-exchange.com/Q_27402310.html) in the VB classic zone, I wrote some VB code in the (Office) VBA environment, rather than fire up my older PC.  I didn't post completely correct code o…
Background What I'm presenting in this article is the result of 2 conditions in my work area: We have a SQL Server production environment but no development or test environment; andWe have an MS Access front end using tables in SQL Server but we a…
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…
Suggested Courses
Course of the Month6 days, 5 hours left to enroll

626 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