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