I am working on a wpf app on basic authentication set ups with different roles. Say, two rules like Admin and Staff. Admin can add/delete users, but Staff can't. Now If I login as Admin, I can add/delete users who can access the app, but if I login as the role Staff, if I do add/delete users operations, the application will crash. I know the problem is I only allow Admin to perform such actions. But any ideas on how to throw an exception so that...