Solved

Accessing data in Active Directory

Posted on 2002-06-09
3
129 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
3 Comments
 
LVL 69

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

Maximize Your Threat Intelligence Reporting

Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

Join & Write a Comment

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…
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…

706 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

19 Experts available now in Live!

Get 1:1 Help Now