Rdiframework.net━. NET rapid Information System Development Framework v3.2-new lock user and unlock user's function

Source: Internet
Author: User

Lock-In user function in the real-world applications have been a large number of applications, when we need to restrict the login of a user, and can not delete the user when the lock function, such as: Unauthorized user attempts error password error too many users can try to lock, Also such as the ATM machine on the money when the wrong input password too many other applications, such as locking the current user.

Rdiframework.net V3.2 version of the new user lock and unlock features, when the designated user is locked, you can not log in, only after unlocking the login. Locking the user and unlocking the lock is placed in the user authorization management interface.

Locking the user and unlocking the user can call the framework to provide the following two interfaces for processing:

Lock User:

1 RDIFrameworkService.Instance.LogOnService.LockUser(UserInfo userInfo, stringuserName);  

To unlock the lock:

1 RDIFrameworkService.Instance.LogOnService.UnLockUser(UserInfo userInfo, stringuserName);  

One, the Web version lock and unlock function

Lock the user with the unlock as shown in:

650) this.width=650; "Src=" http://images2015.cnblogs.com/blog/157572/201703/157572-20170319151122323-48895083. PNG "style=" border:0px; "/>

Select the user you want to lock and click the "Lock User" command button, as shown in the prompt to lock the specified rental box, click on the lock.

650) this.width=650; "Src=" http://images2015.cnblogs.com/blog/157572/201703/157572-20170319151131323-1732289625. PNG "style=" border:0px; "/>

After the lock is successful we will be prompted to try to log in with the locked user: As shown, the login account will be prompted to be locked.

650) this.width=650; "Src=" http://images2015.cnblogs.com/blog/157572/201703/157572-20170319151146510-148911264. PNG "style=" border:0px; "/>

If you want to log in you can wait 30 minutes for the system default setting or contact the administrator directly to unlock the user. Unlocking is done on the user authorization management main interface.

Second, the WinForm version of the lock and unlock function

Lock the user with the unlock as shown in:

650) this.width=650; "Src=" http://images2015.cnblogs.com/blog/157572/201703/157572-20170319151159276-1712598469. PNG "style=" border:0px; "/>

Select the user you want to lock and click the "Lock User" command button, as shown in the prompt to lock the specified rental box, click on the lock.

650) this.width=650; "Src=" http://images2015.cnblogs.com/blog/157572/201703/157572-20170319151207338-1656313380. PNG "style=" border:0px; "/>

After the lock is successful we will be prompted to try to log in with the locked user: As shown, the login account will be prompted to be locked.

650) this.width=650; "Src=" http://images2015.cnblogs.com/blog/157572/201703/157572-20170319151215041-1137314347. PNG "style=" border:0px; "/>

If you want to log in you can wait 30 minutes for the system default setting or contact the administrator directly to unlock the user. Unlocking is done on the user authorization management main interface.

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

Rdiframework.net━.net Rapid Information System Development framework- Introduction to Workflow Components

For a few years, thanks to the supporters and users of the rdiframework.net framework, you can find out more at the address below.

rdiframework.net official website:http://www.rdiframework.net/

rdiframework.net Official blog:http://blog.rdiframework.net/

At the same time need to be explained, all the technical articles in the future to the official website as the subject, welcome to our collection!

rdiframework.net Framework by the professional team for a long time to build, has been updated, has been upgrading, please rest assured that use!

Welcome to Rdiframework.net Framework Official public (No.:rdiframework-net), keep abreast of the latest developments.

Scan QR code for immediate attention

650) this.width=650; "Src=" http://images2015.cnblogs.com/blog/157572/201610/157572-20161008152933504-462402858. PNG "style=" border:0px; "/>


This article is from the "Rapid Information System Development Framework" blog, please be sure to keep this source http://chinahuyong.blog.51cto.com/2721990/1917761

Rdiframework.net━. NET rapid Information System Development Framework v3.2-new lock user and unlock user's function

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.