Creating new user and Resetting user password


  • i am task to write a C# web application for user creation and also have a "Forget Password" link to reset their password

    my questions are

    1. i know i can use UserPrincipal class or DirectoryEntry class to create an AD User. but would like to know is there any mandatory field that i have to pass to these classes, like the obvious ones would be username, password. is there any more?
    2. for the username property am i able to set same as the user email address? i.e when the user fill in the registration form, they would enter an email address as their username. is this possible?
    Tuesday, March 28, 2017 8:14 AM

All replies