Re: Enumerate AD groups

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



Ray Cassick (Home) wrote:
> I am writing an application that is setting some access rights and
> before it goes about it business I want to have the app check to make
> sure that the groups it will be using are actually present. I have
> code that enumerates the groups that belong to a specific user but
> nothing that will actually just give me a listing of available groups.

Depends on how your AD is setup. If you have it set up so your groups are
listed under e.g. OU=Groups,DC=yourdomain,DC=com then you should just be
able to loop through the contents of that OU and get the CNs of all the
groups underneath it.

There's some code at http://www.codeproject.com/dotnet/ActiveDONavigator.asp
which might help with looping through the groups.


.



Relevant Pages

  • Re: Law and Order
    ... professor who heads an online school for business writing ... association of leading chief executives whose corporations ... in multiple exclamation points. ...
    (alt.support.diabetes)
  • Enhancing Workplace Communication
    ... Enhancing Business English ... At the end of this one-day programme, participants will be more confident when communicating ... Effective Writing Skills ... Participants will learn how to update their Business English and learn how to respond to ...
    (Debian-User)
  • Language Skills for Business Professionals
    ... Enhancing Business English ... with people of different levels and be equipped with language tools and skills to communicate ... Effective Writing Skills ... Communication Skills for Senior Executives/Managers ...
    (Debian-User)
  • Language Skills for Business Professionals
    ... Enhancing Business English ... with people of different levels and be equipped with language tools and skills to communicate ... Effective Writing Skills ... Communication Skills for Senior Executives/Managers ...
    (Debian-User)
  • Re: 16GB limit is loosing sales Opportunities
    ... I would love to have been able to explain that to the person writing the ... moving to Exchange and 2k3 really pushed the price to well over 4 times the ... I can't imaging a business small enough to ... >> information store. ...
    (microsoft.public.windows.server.sbs)