Adding users to Active Directory with .NET

Sign in to queue

Description

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

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: https://msdn.microsoft.com/library/default.asp?url=/library/en-us/adschema/adschema/attributes.asp

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

Embed

Download

Download this episode

The Discussion

  • User profile image
    djm
    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.

    Thanks

    David
  • User profile image
    aravindmc
    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.

Add Your 2 Cents