Re: Profile provider question



Why don't you create a new class that inherits from SqlMembershipProvider
adn override the ApplicationName property with some of your special
extension cases.
"Saumin" <Saumin@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:017E0F69-8C9C-4CEB-ACF7-EE23BFFDA524@xxxxxxxxxxxxxxxx
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



.