Solved

Accessing data in Active Directory

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

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Copy a row 12 75
Macro Excel - Multiple If conditions 2 94
SQL Server 2012 to SQL Server 2016 24 55
when text box after scan barcode then will go to do event 5 10
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 …
Enums (shorthand for ‘enumerations’) are not often used by programmers but they can be quite valuable when they are.  What are they? An Enum is just a type of variable like a string or an Integer, but in this case one that you create that contains…
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…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…

739 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