Entries:
Comments:
Posts:

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

Download

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

Searching AD with .NET:
http://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

Tags:

Follow the Discussion

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

    Thanks

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

close

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.