extending the Membership Provider

A

Ash

Hi,

I need to create an web application, users dont register themselves, there
are many client firms, we give the client firms a login so that they can set
up there users.

I was wondering if it is sensible to create my own membership system, or
create a custom provider? In my understanding the createUser method would
need at least one extra field "clientId" so that clients can be restricted in
creating logins only for themselves and not creating logins for other clients?

How would i add this extra field into a CreateUserWizard control?

Thanks

Ash
 
D

Dominick Baier

you can add extra fields by converting the createuserwizard to a template
control.

But frankly - the membership api does not support this extra field and you
could hack your way through by sending extra data via Context.Items - but
it is still not supported and you are better off in writing your own authentication
library...

All the secuirty control have events you can handle to do your own logic,
e.g. Login.Authenticate.
 

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

Forum statistics

Threads
473,968
Messages
2,570,153
Members
46,699
Latest member
AnneRosen

Latest Threads

Top