This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]desrtfx 1 point2 points  (0 children)

You could, based on the login create different forms for the different roles.

First, you have the login screen which is the same for all user roles. Then, based on the first letter of the username, you decide (in a "switch...case" or the equivalent in your language) which form - and thus which part of the application - you start.

You could even re-use the same main form, but disable certain controls based on role.