Return Active Directory Hierarchy by manager propertyhttp://forums.asp.net/t/1518407.aspx/1?Return+Active+Directory+Hierarchy+by+manager+propertyTue, 26 Jan 2010 12:40:33 -050015184073640818http://forums.asp.net/p/1518407/3640818.aspx/1?Return+Active+Directory+Hierarchy+by+manager+propertyReturn Active Directory Hierarchy by manager property <p>Hello, </p> <p>I want to create a treeview that represents&nbsp;the organization structure of a company, e.g:</p> <ul> <li>CEO <ul> <li>Line Manager I <ul> <li>Line Manager II <ul> <li>Worker</li></ul> </li></ul> </li><li>Line Manager I <ul> <li>...</li></ul> </li></ul> </li></ul> <p>&nbsp;</p> <p>I find out how to receive the manager attribute of a user, but I have to iterate through each user to build up that hierarchy.</p> <p>Doe somebdoy have some piece of code that reads the complete Active Directory hierarchy and returns it in any way?</p> <p>&nbsp;</p> <p>Thank you</p> <p>&nbsp;</p> 2010-01-26T12:40:33-05:00