Hi all,
I'm developing a C# Winforms 3.0 app for retail outlets. All the outlets will log in to a central database through a web service. Each outlet will have a superuser plus multiple ordinary users, all stored in a table in the central database. The ordinary users will have various rights assigned to them based on what screens they can view.
I have 3 requirements: to be able to turn off login, to have login with a PIN number only, and have login with username and password.
So I need to add/edit/delete users, store details of each user, what outlet they are part of, the rights to view different screens in the application based on rights assigned by the superuser, make users active/inactive, etc etc. Also need to specify the type of login on an application level i.e. none, PIN only, or full username and password.
Is there a common design pattern or any kind of template that I can use for this...maybe there's a standard code library or something pre-wriiten that I can use as a guide? Does anyone know of any good articles online relating to this scenario?
Thanks,
Ciaran.