如何在Windows窗体应用程序中创建基于角色的登录 [英] How to create a role based login in Windows Forms Application

查看:64
本文介绍了如何在Windows窗体应用程序中创建基于角色的登录的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

为我的用户创建一个简单的应用程序。

1.登录应该是基于角色的,即用户将使用两种不同的登录类型登录:管理员和用户。



2.管理员可以插入,更新,删除和创建用户,并拥有整个应用程序的完全权限。



3。用户应该只能从excel表中查看他们自己的详细信息和他们想要的数据。



数据是关于软件及其存储在文件中的不同版本和密钥。



当用户选择某个软件名称时,他们的不同版本应该显示在列表中,当用户选择s版本时,应该显示该版本的密钥。 br />


谢谢和问候

解决方案

看看这个:controls-based-security-in-a-windows-forms-application/ [<啊ref =https://www.simple-talk.com/dotnet/windows-forms/controls-based-security-in-a-windows-forms-application/target =_ blanktitle =New Window> ^ ]

to create a simple application for my user.
1. The login should be role based i.e. the user will login using two different login types: Admin and User.

2. Admin can Insert, update, delete and create user as well as has full rights to the entire application.

3. User should be only able to view their own details and the data they want form the excel sheet.

Data is about softwares and their different versions and keys stored in a file.

When a user selects a certain software name their different versions should be shown in a list and when user selects s version the keys of that version should be shown.

Thanks and regards

解决方案

Check this out: controls-based-security-in-a-windows-forms-application/[^]


这篇关于如何在Windows窗体应用程序中创建基于角色的登录的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆