We have a WPF application. We would like to resrict access to the application based on the users AD group membership.
Could we do this as an attribute on each view, or as a check when the user starts the application?
Any code example would be appreciated.