Results 1 to 40 of 125

Thread: Populate TreeView with Active Directory objects

Hybrid View

  1. #1

    Thread Starter
    Pro Grammar chris128's Avatar
    Join Date
    Jun 2007
    Location
    England
    Posts
    7,604

    Re: Populate TreeView with Active Directory objects

    OK I have uploaded a new version of the project to the original post in this thread. The new version will retrieve the members of groups now and display them in the treeview, like so:



    One thing I have not done yet is make this recursive. So if you have a group that contains another group that contains more groups and users then you will only see the first group and the group that it contains, not the groups and users within that nested group if you see what I mean.
    I have also tidied up other parts of the code and made it so that the SelectedNode property returns an ADTreeNode not just a normal TreeNode now
    Like I said, check the first post in this thread for a new attachment named "NewVersion-ADTreeViewInForm"
    Last edited by chris128; Jul 22nd, 2009 at 02:05 PM.
    My free .NET Windows API library (Version 2.2 Released 12/06/2011)

    Blog: cjwdev.wordpress.com
    Web: www.cjwdev.co.uk


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width