hi,friends.
i am new in mvc3.
I have 3 tables for role model:
1)user_master(user_id,username,password);
2)role_master
(role_id,role_name);
3)role_to_user
(role_id,user_id);
and I want to apply one user to multiple role like user id =1 and given role 1.taskcreate, 2.taskupdate, 3.create company account how can i perform User.IsInRole() condition with this roles.
thank you.