vb.net - user permissions in windows forms -


i have project in want give permission users can add or update or print etc..is there particular way of doing or tutorials idea it. permissions formis this.can 1 give idea on right way or best approach ? im using vs 2008 vb.net windows app using sqlserver 2008

.

while sql server give user permissions settings, sounds want control on within app, can understand(i'm working on similar project myself @ moment). there 2 ways can this:

  1. on each form_load, disable/hide controls on form logged in user not allowed use.

  2. in handlers different events, run code if current user has permissions use particular function.

as others have mentioned, you're looking not small project means, can done. far best practices handling this, whatever works you.


Comments

Popular posts from this blog

blackberry 10 - how to add multiple markers on the google map just by url? -

php - guestbook returning database data to flash -

delphi - Dynamic file type icon -