Loading user information from Channel 9

Something went wrong getting user information from Channel 9

Latest Achievement:

Loading user information from MSDN

Something went wrong getting user information from MSDN

Visual Studio Achievements

Latest Achievement:

Loading Visual Studio Achievements

Something went wrong getting the Visual Studio Achievements

Adding users to Active Directory with .NET


Right click “Save as…”

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: https://channel9.msdn.com/Showpost.aspx?postid=132400

Searching AD with .NET:

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

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

Complete list of AD Attributes: http://msdn.microsoft.com/library/default.asp?url=/library/en-us/adschema/adschema/attributes.asp

List of values for the "userAccountControl" attribute: http://msdn.microsoft.com/library/default.asp?url=/library/en-us/adschema/adschema/a_useraccountcontrol.asp


Follow the discussion

  • Oops, something didn't work.

    Getting subscription
    Subscribe to this conversation
  • djmdjm
    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.


  • 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.

Remove this comment

Remove this thread


Comments closed

Comments have been closed since this content was published more than 30 days ago, but if you'd like to continue the conversation, please create a new thread in our Forums, or Contact Us and let us know.