Get all users in a group

Posted on 2002-07-08
Last Modified: 2010-04-04
I simply hate programming for Active Directory!

Here's the question:
how do I list all the users in a specific group?

I need this to be done using ADS functions.

Thanks in advance.

Question by:simonet
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
LVL 20

Expert Comment

ID: 7139833
Hi Alex!   :-)

How are you?

I've never done ADS programming yet. But just from the documentation I think it might work like this:

(1) Get an IADsGroup instance of the specific group:

(2) The IADsGroup.Members property should be able to list the users of the group.

No idea whether this helps...

Regards, Madshi.
LVL 15

Author Comment

ID: 7236630
Hi Madshi,

I got some code from

and it still didn't help me.

Is there any other tricks in your sleeve?

Thanks, pal.

LVL 15

Accepted Solution

simonet earned 0 total points
ID: 7250362
I got it working, based on the example above (in my previous comment).

Thanks anyhow.


What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

LVL 15

Author Comment

ID: 7250363
I got it working, based on the example above (in my previous comment).

Thanks anyhow.



Expert Comment

ID: 9343091
This old question needs to be finalized -- accept an answer, split points, or get a refund.  For information on your options, please click here-> http:/help/closing.jsp#1 
Post your closing recommendations!  No comment means you don't care.

Expert Comment

by:Lukasz Lach
ID: 9460312
No comment has been added lately (18 days), so it's time to clean up this TA.
I will leave a recommendation in the Cleanup topic area for this question:

RECOMMENDATION: Accept simonet's answer http:#7250362 and Refund

Please leave any comments here within 7 days.

-- Please DO NOT accept this comment as an answer ! --


EE Cleanup Volunteer

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

This article explains how to create forms/units independent of other forms/units object names in a delphi project. Have you ever created a form for user input in a Delphi project and then had the need to have that same form in a other Delphi proj…
Hello everybody This Article will show you how to validate number with TEdit control, What's the TEdit control? TEdit is a standard Windows edit control on a form, it allows to user to write, read and copy/paste single line of text. Usua…
There's a multitude of different network monitoring solutions out there, and you're probably wondering what makes NetCrunch so special. It's completely agentless, but does let you create an agent, if you desire. It offers powerful scalability …
Do you want to know how to make a graph with Microsoft Access? First, create a query with the data for the chart. Then make a blank form and add a chart control. This video also shows how to change what data is displayed on the graph as well as form…
Suggested Courses
Course of the Month10 days, 9 hours left to enroll

628 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