Q

How do I add an OU from my C#/VB app?

How do I add an OU from my C#/VB app? I tried several solutions and they don't work. Also, I tried "dsadd ou" cmd line and I cannot make it working either. Please help.
What type of error did you get? Do you have permissions? Here is a code sample:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/adam/adam/creating_an_organizational_unit.asp
This was last published in January 2004

Dig Deeper on Microsoft Active Directory

PRO+

Content

Find more PRO+ content and other member only offers, here.

Have a question for an expert?

Please add a title for your question

Get answers from a TechTarget expert on whatever's puzzling you.

You will be able to add details on the next page.

Start the conversation

Send me notifications when other members comment.

By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Please create a username to comment.

-ADS BY GOOGLE

SearchServerVirtualization

SearchCloudComputing

SearchExchange

SearchSQLServer

SearchWinIT

SearchEnterpriseDesktop

SearchVirtualDesktop

Close