.NET Active Directory Wrapper    
Access Active Directory From Your C# or VB .Net Code
 

How to get the Oraganizational Units inside a given orgnizational Unit (OU)

   1:              LdapManager myLDAP = new LdapManager("192.168.1.40");
   2:   
   3:              if (!myLDAP.Login("administrator", "Passw0rd3"))
   4:              {
   5:                  label1.Text = "Invalid Login";
   6:                  return;
   7:   
   8:              }
   9:   
  10:              LdapOU myOU = myLDAP.GetOU("CBTV");
  11:   
  12:              LdapOUCollection myOUs = myOU.GetOUs();
  13:   
  14:              foreach (LdapOU ou in myOUs)
  15:              {
  16:                  label1.Text += ou.OUName + "\n";
  17:              }