Solved

vb6 list all groups in active directory

Posted on 2006-11-06
5
1,075 Views
Last Modified: 2012-01-17
Need to list all groups in active directory.  Don't need to know the users in the groups just the groups.  Thanks!
0
Comment
Question by:bluedragon99
5 Comments
 
LVL 20

Accepted Solution

by:
hes earned 250 total points
ID: 17883010
0
 
LVL 1

Author Comment

by:bluedragon99
ID: 17884481
can this be done with ado?  This is a production app can't really add any other components other ado stuff.  sorry i forgot to mention this
0
 
LVL 6

Assisted Solution

by:dave_moats
dave_moats earned 250 total points
ID: 17894401
You can get a list of groups using ADO, but ADO uses ADSI under the covers to get the info out of Active Directory.  This should not be a problem unless you are running the query on something other than Win2K or greater.

Here is an examples of using ADO / ADSI to list the groups in a domain.
http://www.freevbcode.com/ShowCode.Asp?ID=702
0

Featured Post

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

In this post we will learn how to connect and configure Android Device (Smartphone etc.) with Android Studio. After that we will run a simple Hello World Program.
In this article, we will see the basic design consideration while designing a Multi-tenant web application in a simple manner. Though, many frameworks are available in the market to develop a multi - tenant application, but do they provide data, cod…
This tutorial will walk an individual through the process of transferring the five major, necessary Active Directory Roles, commonly referred to as the FSMO roles to another domain controller. Log onto the new domain controller with a user account t…
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…

708 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

14 Experts available now in Live!

Get 1:1 Help Now