am new to c# programming and for 3 months i've been learning and writing an application which am almost done, i have my user authen table for login purpose,profile table, features table, actions table as well as permission table in place in Msql database and also successful in inserting new permissions to database from winform and assigning those profile to a user. what am left to do is give permission right to users logon to access certain controls on my numerous winforms. am actually stuck here and dont know how to link application to read from database what permissions was assigned to a user and what controls to deny or permit. any help as to how to achieve this would be appreciated thank you.
Question is how do i make application read permission already assigned to a user and block or enable a control based on permissions assigned to that user.
Aucun commentaire:
Enregistrer un commentaire