Solved

vb6 list all groups in active directory

Posted on 2006-11-06
5
1,084 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

Are your AD admin tools letting you down?

Managing Active Directory can get complicated.  Often, the native tools for managing AD are just not up to the task.  The largest Active Directory installations in the world have relied on one tool to manage their day-to-day administration tasks: Hyena. Start your trial today.

Question has a verified solution.

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

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.
Restoring deleted objects in Active Directory has been a standard feature in Active Directory for many years, yet some admins may not know what is available.
An introduction to basic programming syntax in Java by creating a simple program. Viewers can follow the tutorial as they create their first class in Java. Definitions and explanations about each element are given to help prepare viewers for future …
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…

914 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