How can i create new users without utilizing the create user wizar

P

prady

Hi,
Is it possible for me to create new users without using the wizard? I am
using a custom membership as i want to capture more data other than the ones
which are available in the wizard. Is it possible for me to use the custom
membeship create user method? If yes how can i call it ? What should i be
giving the button_click event of my webpage where i capture the data?
Thanks in advance
Prady
 
I

Ian Semmel

You can add your own functions to your custom membership provider class.

If your custom membership provider is say MyCustomProvider, you can get a
reference to that by

MyCustomProvider mcp = (MyCustomProvider) Membership.Provider;

You can then call mcp.DoMyCreateUser(...) etc.
 
P

Phil H

You can add your own functions to your custom membership provider class.

If your custom membership provider is say MyCustomProvider, you can get a
reference to that by

  MyCustomProvider mcp = (MyCustomProvider) Membership.Provider;

You can then call mcp.DoMyCreateUser(...) etc.


-----Original Message-----
From: prady [mailto:p[email protected]]
Posted At: Sunday, 30 December 2007 4:34 AM
Posted To: microsoft.public.dotnet.framework.aspnet
Conversation: How can i create new users without utilizing the create
user wizar
Subject: How can i create new users without utilizing the create user
wizar
Hi,
Is it possible for me to create new users without using the wizard? I
am
using a custom membership as i want to capture more data other than the
ones
which are available in the wizard. Is it possible for me to use the
custom
membeship create user method? If yes how can i call it ? What should i
be
giving the button_click event of my webpage where i capture the data?
Thanks in advance
Prady- Hide quoted text -

- Show quoted text -

A custom membership provider has to impement the interface
requirements of a standard membership provider if it is to be used
transparently. If you need to pass more information than is specified
by the standard Membeship.Createuser() method then you will have to
write code for a separate function with the required parameters and
call it explicitly.

Does that make any sense?
 

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,997
Messages
2,570,239
Members
46,827
Latest member
DMUK_Beginner

Latest Threads

Top