Вопрос

I want to retrieve OU structure from active directory using c# into a treeview So far I found Acquiring AD OU list I have tested, it worked fine,this is good to get a flat list of all OUs without any hierarchies.

How could I get hierarchical list with the extent of above method ? I am using .net 2.0 and VS 2010

Это было полезно?

Решение

i solved it by add one level each time and wait for user's action to loop through next level which can split query into multiple small queries which take much less time for each run.

Лицензировано под: CC-BY-SA с атрибуция
Не связан с StackOverflow
scroll top