简体   繁体   中英

C# Role Based Management of Desktop application

I am very much familiar with handling roles (role membership) in ASP.NET but i want to have the same functionality of authentication and authorization for my desktop application. Do C# / .Net Framework offers such functionality.
Just for information, i intend using MySQL as database. If any framework providing the role based management is implemented in other database, i will be happy to switch to it.

You can utilize membership libraries in a desktop application and even specify an AD provider if you don't want to use a database to store the membership information and rather rely on domain security.

The membership is located in the System.Web dll and you will have to reference this and configure your app.config accordingly in your desktop project.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM