473,320 Members | 1,883 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

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
Dec 29 '07 #1
2 1542
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:pr***@discussions.microsoft.com]
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
Dec 29 '07 #2
On 29 Dec, 19:48, "Ian Semmel" <any...@rocketcomp.com.auwrote:
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:pr...@discussions.microsoft.com]
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?
Dec 29 '07 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

17
by: Lonnie Princehouse | last post by:
In short: Is there any way to run Python WITHOUT trying to create .pyc files (or ..pyo) or to have Python not attempt to import the .pyc files it finds? Reason: We have a site-specific...
2
by: Keith Jakobs, MCP | last post by:
Greetings: I had seen several posts around the Internet about this issue from a few months back, but have been unable to find a resolution ... I have a user who is trying to get started with...
3
by: Richard Fritzler | last post by:
I was given the task of designing a complete web based document prep system. In simplest terms (using a msword explanation) create a database of merge fields, and a library of templates. Allow the...
7
by: dog | last post by:
I've seen plenty of articles on this topic but none of them have been able to solve my problem. I am working with an Access 97 database on an NT4.0 machine, which has many Access reports. I...
3
by: MLH | last post by:
I was running the following code while logged in as a user belonging only to the Users group. Set usrNew = .CreateUser(Me!UserID) 'The user ID is in a control on the form usrNew.PID =...
4
by: anders | last post by:
Hi! To create a new Windows account I use this code: const int UF_PASSWD_CANT_CHANGE = 0x0040; const int UF_DONT_EXPIRE_PASSWD = 0x10000; DirectoryEntry obDirEntry = new...
13
by: forbes | last post by:
Hi, I have a user that used the Query Wizard to create a query in Access. Now she claims that her master table is missing all the data that was excluded from the query. Can you create anything...
5
by: Michael | last post by:
Hello, I've created an ASP web page where users in our organization can create Active Directory computer accounts. The web page is running on a Server 2003 SP1 IIS 6 installation. The...
2
by: kai | last post by:
Hi, I use VB 2008 as front end, SQL Server 2005/2008 as back end, I want control number of cucurrent users log on to the database, I am trying to use a stored procedure, but it did not work. Is...
0
by: DolphinDB | last post by:
The formulas of 101 quantitative trading alphas used by WorldQuant were presented in the paper 101 Formulaic Alphas. However, some formulas are complex, leading to challenges in calculation. Take...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
0
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.