how to get all groups from AD?

Discussion in 'ASP .Net Security' started by Craig Vedur, Aug 30, 2005.

  1. Craig Vedur

    Craig Vedur Guest

    does anyone know how to programatically in C# get a list of all groups from
    active directory? i thought i saw a sample on MSDN, but, I can't find it.

    Thanks
     
    Craig Vedur, Aug 30, 2005
    #1
    1. Advertising

  2. Craig Vedur

    Pat Guest

    Craig try looking at this article it could guide you:-
    http://www.upyourasp.net/articles/article.aspx?aid=13
    I have a sample i got from Joe using LDAP(but windows app) and it worked..
    I also did an asp.net/VB.net but used OLEDB provider..
    Let me know if you need it.
    Patrick


    "Craig Vedur" <> wrote in message
    news:...
    > does anyone know how to programatically in C# get a list of all groups

    from
    > active directory? i thought i saw a sample on MSDN, but, I can't find it.
    >
    > Thanks
     
    Pat, Aug 31, 2005
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Petra Hübner
    Replies:
    0
    Views:
    459
    Petra Hübner
    Feb 16, 2004
  2. anonymous
    Replies:
    1
    Views:
    4,625
    Francisco Padron
    May 8, 2005
  3. Chad Beckner

    User tokenGroups -> All Groups? Help!!

    Chad Beckner, Aug 12, 2005, in forum: ASP .Net
    Replies:
    5
    Views:
    2,288
    Joe Kaplan \(MVP - ADSI\)
    Aug 13, 2005
  4. Replies:
    3
    Views:
    369
    Peter Hansen
    Jun 10, 2005
  5. Jerry C

    DirectoryService and get all groups

    Jerry C, Aug 3, 2006, in forum: ASP .Net Security
    Replies:
    13
    Views:
    289
    Joe Kaplan \(MVP - ADSI\)
    Aug 8, 2006
Loading...

Share This Page