I am trying to write a basic AddUser application for active directory. I have a method that binds the admin account to the directory at the top. company.com
Now I want to add a user in a deeper branch such as
can anyone provide an example of how I would do this. I am not clear if I need to rebind to the directory at that level. I have tried this (its not working) but I am hoping there is a better answer.
Thanks in advance