Aug 19, 2008 03:31 AM|SecMaker|LINK
I got this worked by modifying the following code with DistinguishedName as you recommended.
foreach (DirectoryEntry child in entry.Children)
TreeNode childNode = new TreeNode(child.Name.ToString(), child.Properties["DistinguishedName"].Value.ToString());
Thanks a lot for your help ssg31415926.