Solved

vb6 list all groups in active directory

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

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

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

This script can help you clean up your user profile database by comparing profiles to Active Directory users in a particular OU, and removing the profiles that don't match.
This article outlines the process to identify and resolve account lockout in an Active Directory environment.
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…
This tutorial will walk an individual through the process of configuring their Windows Server 2012 domain controller to synchronize its time with a trusted, external resource. Use Google, Bing, or other preferred search engine to locate trusted NTP …

776 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