Solved

vb6 list all groups in active directory

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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

This article outlines the process to identify and resolve account lockout in an Active Directory environment.
This article explains the steps required to use the default Photos screensaver to display branding/corporate images
Viewers will learn how to properly install Eclipse with the necessary JDK, and will take a look at an introductory Java program. Download Eclipse installation zip file: Extract files from zip file: Download and install JDK 8: Open Eclipse and …

830 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