Reputation: 97
In my application I need to control who can read and write in the different GUI elements. The users will have a role. But how can I set the authorization on the different elements to check if the user is authorized to write or not? Are there any good examples around?
Upvotes: 2
Views: 3005
Reputation: 331
You can try this UIAuth It's an infrastructure that allow you to control authorization base on VM properties. with behaviors.
Upvotes: 0
Reputation: 3689
See class WindowsIdentity. It shows you all user data.
If you use MS AD, I recommend you to use Domain level 2003+, to get more data from this class.
Upvotes: 1