Codeplex 上有一個現成的修改密碼的Web part, 在SharePoint 2010和SharePoint 2013均可以用網站
項目地址:http://changepassword.codeplex.com/3d
具體安裝過程,可參考以下:code
- 就管理員身份運行SharePoint 2010 Management Shell
![clip_image001[4] clip_image001[4]](http://static.javashuo.com/static/loading.gif)
- 運行PowerShell 命令:Add-SPSolution 添加WSP包
![clip_image002[4] clip_image002[4]](http://static.javashuo.com/static/loading.gif)
- 導航到 Central Admin>>System Settings >>Manage farm solutions
![clip_image003[4] clip_image003[4]](http://static.javashuo.com/static/loading.gif)
- 在待添加Web part 的SharePoint網站上,激活站點集Feature
- 導航到 Site Actions >> Site Settings >> Site Collection Administration>>Go to Top Level Site Settings >> Site Collection Features, 點擊"激活" ITaCS Change Password Web Part.
![clip_image006[4] clip_image006[4]](http://static.javashuo.com/static/loading.gif)
- 編輯頁面,並插入Web Part
![clip_image007[4] clip_image007[4]](http://static.javashuo.com/static/loading.gif)
- 配置Web Part屬性
![clip_image008[4] clip_image008[4]](http://static.javashuo.com/static/loading.gif)
注意配置紅框部分的內容ip
![clip_image009[4] clip_image009[4]](http://static.javashuo.com/static/loading.gif)
![clip_image010[4] clip_image010[4]](http://static.javashuo.com/static/loading.gif)
Web part中的屬性:部署
Scope:提定要修改的密碼是AD域的,仍是本機Local的密碼.get
FQDN: 若是是修改AD的密碼,則要設置AD 的FQDN.it
Show Password Expiration: 是否提示密碼過時io
成功後的截圖以下:.cli
![clip_image011[4] clip_image011[4]](http://static.javashuo.com/static/loading.gif)
更多SharePoint文章,請訪問: www.sharepointhelper.com