<分区>
我正在开发一个 Windows 应用程序,我想在其中向表单添加基于用户的角色。但是我有点困惑在 Windows 应用程序中如何做?
<分区>
我正在开发一个 Windows 应用程序,我想在其中向表单添加基于用户的角色。但是我有点困惑在 Windows 应用程序中如何做?
最佳答案
您可能需要考虑使用 SqlMemebershipProvider . You can use the ASP.NET Membership provider mechanism in Windows Forms Apps .
参见 this article进行遍历。
关于c# - 如何在 C# Windows 应用程序中进行身份验证和授权?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/9316391/