Results 1 to 2 of 2

Thread: Associating user to either customer, vendor or CSR

  1. #1
    Join Date
    Sep 2005
    Posts
    8

    Default Associating user to either customer, vendor or CSR

    Hi,
    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,
    M

  2. #2
    Join Date
    Sep 2005
    Posts
    8

    Default

    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,

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •