RobertShelton

Adding users to Active Directory with .NET

Download this episode

Download Video

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: 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

Embed

Format

Available formats for this video:

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

    The Discussion

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

    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.