No matter what system login users have forgotten password, forget the password will not enter the system. The system should be able to provide the ability to reset the user's password. Resetting the user password function in our framework is usually done by the user administrator. Of course, if you do a complex point can also be reset by users themselves (such as: by mail, SMS, etc.). The rdiframework.net V3.2 version adds a service interface for user reset passwords for invocation, as well as a new "Reset Password" feature in both the framework web and the WinForm version of the user Management module. Users forget the password only need to notify the administrator, let the Administrator general user Management module reset the user's password is the system default password.
The module password of the framework is saved in the configuration file "DefaultPassword" configuration section, the default value is abcd1234, the manager can set your own default password according to the actual situation.
The service interface for resetting the user's password is:
1 |
RDIFrameworkService.Instance.LogOnService.SetPassword(UserInfo userInfo,
string
[] userIds,
string
password,
out string
statusCode,
out string
statusMessage);
|
The "Reset password" feature of the Web user management interface is as follows:
650) this.width=650; "Src=" http://images2015.cnblogs.com/blog/157572/201703/157572-20170307161604078-1874028450. PNG "style=" border:0px; "/>
The WinForm user management interface "Reset Password" function is available through the "Set password" function on the user management main interface as shown in:
650) this.width=650; "Src=" http://images2015.cnblogs.com/blog/157572/201703/157572-20170307161628688-1918908193. PNG "style=" border:0px; "/>
In the "Set User password" screen, you can set the desired password individually, or you can set the system default password, which makes it easy for administrators to manage.
Related articles:
V3.2 Version code generator download:
Rdiframework Platform Code generator V3.2 release 20170227
rdiframework.net-based on. NET rapid Information System development Framework-Series catalogue
This article is from the "Rapid Information System Development Framework" blog, please be sure to keep this source http://chinahuyong.blog.51cto.com/2721990/1917758
Rdiframework.net━. NET rapid Information System Development Framework v3.2-> User Management module new "Reset User password" feature