I have multiple roles for user login, I have successfully implemented if one user has only one role but the problem is if a user have more than one role then how can I implement that.
Thanks and Regards Prabhat Pandit.
Advertisement
Answer
One is: You can ask from a user at runtime that by which role he/she want to login.
Second is: At the login time let the user select from drop down that by which role he/she want to login.