Profile provider question

S

Saumin

I had a question regarding ProfileProviders. Here is our situation. I have a
custom MembershipProvider which is using ADAM. The reason that I have custom
provider is because, we have client companies who have people with
overlapping usernames. In other words, one client company, Company A has a
person with username “jsmith†and other client company, Company B has some
other person with same username “jsmithâ€. But now, I am using native sql
profile provider along with this and I noticed that aspnet_users table is
overwriting profile information depending upon who logged in last. It would
work if I were to treat ApplicationName as ClientCompanyName and then I would
not have any problem. But I do not know how to do that? Does anybody have any
suggestions on this and actually how to approach this problem in any other
fashion?

I will appreciate any help on this.

Thanks!

Saumin
 
K

Kerem OZMAN

Why don't you create a new class that inherits from SqlMembershipProvider
adn override the ApplicationName property with some of your special
extension cases.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,994
Messages
2,570,222
Members
46,809
Latest member
moe77

Latest Threads

Top