RDIFramework.NET ━ .NET Rapid Information System Development Framework V3.2-Added functions of locking and unlocking users

  The lock user function has been widely used in real application scenarios. When we need to restrict the login of a user and cannot delete the user, we can use the lock function, such as: unauthorized users try too many wrong passwords, you can try The user is locked, and there are many other applications such as the current user being locked if the wrong password is entered too much when withdrawing money from the ATM machine.

  RDIFramework.NET V3.2 version adds the function of user locking and unlocking. When the specified user is locked, they cannot log in, and they can log in only after unlocking. Locking and unlocking users are placed in the user authorization management interface.

  Lock users and unlock users can call the following two interface processing provided by the framework:

  Lock user:

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

  unlock:

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

  1. Web version locking and unlocking functions

  Locking and unlocking users is shown in the following figure:

 

  After selecting the user to be locked, click the "Lock User" command button, as shown in the figure below, a prompt box will pop up whether to lock the specified rental house, click Lock.

 

  After the lock is successful, we will be prompted to log in with the locked user: as shown in the figure below, it will prompt that the login account is locked.

 

  If you want to log in, you can wait for the default 30 minutes of the system or contact the administrator directly to unlock the user. Unlocking is the same as operating on the main interface of "User Authorization" management.

  2. Lock and unlock function of WinForm version

  Locking and unlocking users is shown in the following figure:

 

  After selecting the user to be locked, click the "Lock User" command button, as shown in the figure below, a prompt box will pop up whether to lock the specified rental house, click Lock.

 

  After the lock is successful, we will be prompted to log in with the locked user: as shown in the figure below, it will prompt that the login account is locked.

 

  If you want to log in, you can wait for the default 30 minutes of the system or contact the administrator directly to unlock the user. Unlocking is the same as operating on the main interface of "User Authorization" management.

 

 related articles:

    V3.2 version code generator download: 

     RDIFramework platform code generator V3.2 release version 20170227

   RDIFramework.NET — Rapid Information System Development Framework Based on .NET — Series Catalog 

   RDIFramework.NET ━ .NET Rapid Information System Development Framework ━  Introduction of Workflow Components

  Over the years, I would like to thank the supporters and users of the RDIFramework.NET framework. You can learn more about it through the following address.

      RDIFramework.NET官方网站:http://www.rdiframework.net/

      RDIFramework.NET官方博客:http://blog.rdiframework.net/

      同时需要说明的,以后的所有技术文章以官方网站为准,欢迎大家收藏!

      RDIFramework.NET框架由专业团队长期打造、一直在更新、一直在升级,请放心使用! 

  欢迎关注RDIFramework.NET框架官方公众微信(微信号:rdiframework-net),及时了解最新动态。

  扫描二维码立即关注

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=326496972&siteId=291194637