Blog - C# Active Directory Tutorial

  • Home
    • Blog - C# Active Directory Tutorial

C# Active Directory Tutorial

Added a tutorial on updating Microsoft Active Directory with C# and .NET.

3 Responses to “C# Active Directory Tutorial”



  1. Hello , i am interested in Active Directory and now i am writting application about Active Directory but i have a problem .
    i would like to Change password of user in Active Directory .
    How Should i do ?
    Please Help me abount Changing password in Active Directory
    Thank you very much



  2. Hi,

    If you have an object of the type DirectoryEntry (user here) you can set the password with the invoke method, e.g.

    object[] password = {”12345678″};
    user.Invoke(”SetPassword”, password);

    Will be adding an example to the end of the tutorial showing how to add a new user which should make that clearer!

    Ian



  3. Hello Ian,
    I was following the examples about Active Directory that you have in this website and they are pretty nice and very informative.

    I’m trying to write a program in C# where i would check the Write and Modify permissions for every folder/subfolder in the profile for any given user. If user is not able to Write or Modify the folders then output the username and the folder’s name.

    Any thoughts, ideas, opinions will greatly be appreciated.
    You may email me at 8mmurillo@gmail.com

    Thanks!

Leave a Reply