0

I have SharePoint 2016 environment where i have two set of users,

  1. users with company domain - logging in using enterprise login ( say User A )
  2. users logging in via an internal - windows active directory in a separate server ( say User B )

Usually, we used to add the user B in our active directory and share their credentials, once they logged in they will change their own password. Now i need to provide an option to for them to reset their password on a SharePOint page itself on their first login.

Please suggest me an easy way to achieve this functionality ? i'd like to use any JavaScript, JQuery solution for this.

1 Answer 1

1

You can't use JavaScript as an end-to-end solution as it cannot interface with LDAP; you will need to develop a good portion of this in C# in order to work with the System.DirectoryServices namespace.

However, SharePoint is not the appropriate tool for this from a security perspective. I would look at purchasing a Self-Service Password Reset tool that is designed for your use-case.

Another note of caution, Microsoft has declared System.Web.UI.WebControls.PasswordRecovery to be insecure and should not be used. You can see this noted in the November 2020 PU for SharePoint 2019, 2016, and 2013.

1
  • thanks for your answer, can you please share any sample c# project files with which i can develop and use it for my sharepoint site. Mar 24, 2021 at 6:43

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.