Adding users to Active Directory with .NET

Download this episode

Download Video


Federal Developer Evangelist, Robert Shelton, takes you through a 10 minute walkthrough/demonstation of how to add a user and set the users Active Directory properties with .NET (C# in this case). 

My Other AD Screencasts:

Adding Groups and users to groups with .NET:

Searching AD with .NET:

Resource links (shown at the end of the screencast):

My blog: (where you can download the code).

Complete list of AD Attributes:

List of values for the "userAccountControl" attribute:



Available formats for this video:

Actual format may change based on video formats available and browser capability.

    The Discussion

    • User profile image
      Hi is it possible to use the Username and Password arguments with the DirectoryEntry object in VB 2005 it only allows me to pass the Path.


    • User profile image
      If you would like to get the transcript for this video, plus an application to manage screencasts which can be downloaded online, visit my blog post here.

    Comments closed

    Comments have been closed since this content was published more than 30 days ago, but if you'd like to send us feedback you can Contact Us.