Solved

Accessing data in Active Directory

Posted on 2002-06-09
3
132 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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Have you ever wanted to restrict the users input in a textbox to numbers, and while doing that make sure that they can't 'cheat' by pasting in non-numeric text? Of course you can do that with code you write yourself but it's tedious and error-prone …
Most everyone who has done any programming in VB6 knows that you can do something in code like Debug.Print MyVar and that when the program runs from the IDE, the value of MyVar will be displayed in the Immediate Window. Less well known is Debug.Asse…
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…
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…

740 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