Announcement Announcement Module
No announcement yet.
Associating user to either customer, vendor or CSR Page Title Module
Move Remove Collapse
This topic is closed
Conversation Detail Module
  • Filter
  • Time
  • Show
Clear All
new posts

  • Associating user to either customer, vendor or CSR

    I am not sure if this message belongs here, but would like to know the general pattern/method to associate a logged in user to either a customer, vendor or CSR. These are three different tables in the database.

    I am using role based DAO authentication. My DAO object contains just userid and password. The logged in user could be either a customer, vendor or a CSR. The Customer, Vendor and CSR information stored in separate tables.

    How to achieve this? Is there any general pattern for this?

    Thanks in advance,

  • #2
    Looks like I didn't explain the problem properly. What I am looking for is a way to identify an authenticated user as a customer, Vendor or a CSR.
    Should we store user_type in Users table? Or is there any better way to handle this scenario using Acegi?

    All users will be logging into the system using a same url.

    Thanks in advance,