-
May 25th, 2006, 07:30 AM
#1
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
-
May 30th, 2006, 03:06 PM
#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,
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules