I want to display different menu for different users using c# wpf.
Also I already have multiple login only with oracle database.
I want to control user privileges through C#.
I want to display different menu for different users using c# wpf.
Also I already have multiple login only with oracle database.
I want to control user privileges through C#.
Aravindhan – First you need to have in place the Authentication and Authorization process in place. So, how you do the authentication:
http://blog.magnusmontin.net/2013/03/24/custom-authorization-in-wpf/
Basically, you need to implement the interfaces described on the link above that .Net provides to you. When you get on the IAuthenticationService ->AuthenticateUser method, you will have to provide the Oracle implementation for that.
The implementation will be similar to the snippet below: