Solved

Using Treeview to list active directory items

Posted on 2010-08-20
6
328 Views
Last Modified: 2013-11-07
I have never used treeview, but have a need for it to list items in active directory.  How do you set this up?
0
Comment
Question by:chadmanvb
6 Comments
 
LVL 14

Expert Comment

by:athomsfere
ID: 33487678
Are you on the DC? Or looking at the drive with the domain on it for the DC?
0
 
LVL 17

Accepted Solution

by:
Zhaolai earned 500 total points
ID: 33487749
The following link has the code which does what you want:

http://www.vbforums.com/showthread.php?t=555544

0
 

Author Comment

by:chadmanvb
ID: 33487861
I will just be on a workstation not the dc.

I'm looking at that code now to see if I can import that or get it to work.
0
DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

 
LVL 3

Expert Comment

by:gbarcalow
ID: 33488182
What are you trying to list? Users?
0
 

Author Comment

by:chadmanvb
ID: 33488522
I was hoping to be able to see all the ou's and cn's.  Then be able to click on the cn I need to change some properties for that cn.  I like the tree idea because they can be in many differant places and the users can just drill down to the cn they need.  I can then limit them to only change the properties I need them to.
0
 

Author Closing Comment

by:chadmanvb
ID: 33489523
Wow, this is going to work out great.  Thanks for the link.
0

Featured Post

Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

Question has a verified solution.

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

More often than not, we developers are confronted with a need: a need to make some kind of magic happen via code. Whether it is for a client, for the boss, or for our own personal projects, the need must be satisfied. Most of the time, the Framework…
Wouldn’t it be nice if you could test whether an element is contained in an array by using a Contains method just like the one available on List objects? Wouldn’t it be good if you could write code like this? (CODE) In .NET 3.5, this is possible…
Windows 10 is mostly good. However the one thing that annoys me is how many clicks you have to do to dial a VPN connection. You have to go to settings from the start menu, (2 clicks), Network and Internet (1 click), Click VPN (another click) then fi…
Microsoft Active Directory, the widely used IT infrastructure, is known for its high risk of credential theft. The best way to test your Active Directory’s vulnerabilities to pass-the-ticket, pass-the-hash, privilege escalation, and malware attacks …

770 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