Good day.
We would like to achieve the concept of setting user permission at Active Directory level rather than at application level, whereby:
1) At Active Directory, set up two users (User1 and User2).
2)
Create a Windows Form Application, having the main form with two buttons (Btn1 and Btn2).
3) Create application behaviour as below:
- User1 click on Btn1 on main form. (allowuser1 to navigate to form1 and prompt message. "Authorised").
- User1 click on Btn2 on main form. (disallowuser1 to navigate to form1 by prompting message "Not Authorised").
- User2 click on Btn1 on main form. (disallowuser2 to navigate to form1 by prompting message "Not Authorised").
- User2 click on Btn2 on main form. (allowuser2 to navigate to form1 and prompt message "Authorised").
Please assist on what should be configured at Active Directory to achieve the above?
Thank You.
Viknes Raj