Solved

vb6 list all groups in active directory

Posted on 2006-11-06
5
1,116 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Does Powershell have you tied up in knots?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

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 make Android Gesture Tutorial and give different functionality whenever a user Touch or Scroll android screen.
Auditing domain password hashes is a commonly overlooked but critical requirement to ensuring secure passwords practices are followed. Methods exist to extract hashes directly for a live domain however this article describes a process to extract u…
With the power of JIRA, there's an unlimited number of ways you can customize it, use it and benefit from it. With that in mind, there's bound to be things that I wasn't able to cover in this course. With this summary we'll look at some places to go…
Are you ready to implement Active Directory best practices without reading 300+ pages? You're in luck. In this webinar hosted by Skyport Systems, you gain insight into Microsoft's latest comprehensive guide, with tips on the best and easiest way…

726 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