Hi Guys,

I had an existing MySQL 5 database therefore I have created a custom membership provider. I am creating an application for a school. So the users can either be pupils or teachers or Administrators like myself. Now the existing users table I inherited had a field called User_Group which has a "T" if the user is a teacher. A "P" for a pupil. Or an "A" for an administrator.

I don't really like this approach. The need has arisen for me to check the user that is logged in. If it is a "Pupil" I need to display certain info.

My question is, should I implement a custom role provider for this scenario or just extend my membership class and add a property called UserGroup?