vb6 list all groups in active directory

Need to list all groups in active directory.  Don't need to know the users in the groups just the groups.  Thanks!
LVL 1
bluedragon99Asked:
Who is Participating?
 
bluedragon99Author Commented:
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
 
dave_moatsConnect With a Mentor Commented:
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
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.