Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Help creating membership provider

Status
Not open for further replies.

pkailas

Programmer
Jun 10, 2002
555
US
I'm looking for some assistance in either getting a start in extending the ASP.NET 2.0 membership provider or purchasing someone's efforts.

My business model requires the following:

The main account that gets created is for the company purchasing our services.

Once that account is create (it is not a log in account), then they can set up multiple log-in accounts that would be tied to that first account. Children so to speak.
Also, these "child" accounts have either admin or restricted access. The "admin" account would be able to update the master account as well as the child login accounts. Restricted would just be able to use the web site as a paying customer.

Does anyone have something like this, or would be willing to help me out with this even for a fee?

_______
I love small animals, especially with a good brown gravy....
 
This is an online trucking company.

A company account is created. This gets stored into a table. Let's call that table "CompanyAccounts"

Then at the same time or shortly after, by retrieving the identity of that insert, we create the first or "master" log in account. That gets stored in another table, lets call "LoginAccounts".

Now that a company has an account, they can create more "log in accounts" for employees. These get stored in the "LoginAccounts" table, along with an entry that identifies the company account record in the CompanyAccounts table.

We use SQL 2005 Enterprise. I'd like to either make a custom membership provider, or extend the existing one or come up with a different solution.

_______
I love small animals, especially with a good brown gravy....
 
You can modify the provider yourself. You would have to change the table structure and the stored procedures to insert, update, detete..etc.
 
Create a custom membership provider. here is an example i would create a group for the company and default a user as the MASTER user for each group. I can tell you from experience that trying to make "children" users is not an easy task and can get real messy.

Step back for a minute and try to figure out exactly what you would like to achieve and then design. Don't even think about membership provider or anything like that. Assume that you are not even using .NET. When you get a good idea of what you want, then look at what can help you achieve this in .NET. Program IN the language and not INTO the language.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top