There is a domain :LDAP://dc=www,dc=xxx,dc=com
and i wan to add a ou the the domaim.
my code is:
DirectoryEntry de=new DirectoryEntry ( LDAP://dc=www,dc=xxx,dc=com)de.Children.Add("OU=" + organizationUnitName, "organizationalUnit"); de.CommitChanges();
it neither add a ou to the AD nor throw exception.
is my code error?
appreciated for any suggestion