locked
how to get list of all subtee from Active Directory in .NET RRS feed

  • Question

  • Hi,

    am new in working with Active Directory...

    my situation is... i have three domain and I need to generate the list of all Subtree values and its members/users/groups in a text file.
    using .NET

    how can I achieve this...starting from the Root Directory?
    using

    Imports

     

    System.DirectoryServices
    Imports System.DirectoryServices.ActiveDirectory


    Namespaces.


    any kind of help will be appreciated.
    Thursday, December 17, 2009 10:39 PM

Answers

  • Hi MeetUR,

    Here are two articles about how to use Active Directory in vb.net.
    1. Active Directory in VB.NET
    2. Working with Active Directory in vb.net
    They demonstrates how to query groups, members, adding users, suspending users, and changing user passwords and so on.

    Regards
    Jeff Shan


    Please remember to mark the replies as answers if they help and unmark them if they provide no help.
    • Edited by Jeff Shan Wednesday, December 23, 2009 9:23 AM delete unproper link
    • Proposed as answer by Cor Ligthert Wednesday, December 23, 2009 9:57 AM
    • Marked as answer by Martin_Xie Thursday, December 24, 2009 5:16 AM
    Wednesday, December 23, 2009 8:42 AM