Active Directory Password Change

Have remote users? Tired of logging into Outlook Web Access for password changes? This web part allows users to change their passwords.

Requirements

  • Active Directory
  • This web part

Usage:

Overview

The following shows the Active Directory Password Change Part on a page.
The user will
  • Enter their current password
  • Enter their new password
  • Enter their new password a second time
  • Click the Submit button to perform the password change

Messages

Result messages will show above the "User:" field. They will include Active Directory error messages if they were issued in response to a password change.

pswchange01.jpg

Configuration

The following shows the Configuration of the Active Directory Password Change Part:
pswchange02.jpg

Configuration Items

  • Appearance Section
    • Title
      • This is the Title that appears on the screen above the Active Directory Password Change Part
  • Configuration Section
    • Show old password as text?
      • This will show the old password as text, instead of dots
    • Show new password as text?
      • This will show the new password as text, instead of dots
    • Show button expire pw now? Next logon ask user for new password
      • This will show a button to expire the password of the user. The user should be prompted for a new password at the time of the next logon.

Deploying the solution

Download the SharePoint solution file (.wsp).
Use PowerShell or STSADM to install the solution into the farm.
Use PowerShell, STSADM, or Central Administration to deploy the solution.

Building the solution

The Active Directory Password Change Web Part solution is a Visual Studio 2010 solution with a single SharePoint project using C#.
You will need Visual Studio 2010 installed. To use SharePoint project templates, Visual Studio requires that SharePoint be installed locally. SharePoint 2010 can be installed on Windows 7 (though I personally don't recommend it), or on Windows Server 2003 or above.
Upon opening the solution, configure the URL for deployment by opening the Properties window (tab) for the Project, and adjusting the Site URL. This address is used any time you use the Deploy command.

Last edited Jul 27, 2012 at 2:40 AM by KCallisDev, version 4

Comments

No comments yet.