Monday, 30 September 2013

can I base my asp membership provider 'applications' by a guid

can I base my asp membership provider 'applications' by a guid

I created an asp portal for my customers. They all access the same website
and pass in a tokenid, which is a guid. This guid tells me what company
they belong to and what they have access to.
I have the membership provider set up to not allow duplicate email
addresses and everyone under the same application. So, with this in mind,
I figured I could do the following to allow them to register with more
than one company with the same email account.
Create an membership provider application for each tokens (for each company).
Write a script that finds all of the accounts that are based on this guid
and place them under appropriate application
Will this work? Will it allow my customers to create a login for each
token/company using the same email address?
Thanks for the help!

No comments:

Post a Comment