Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / ASP.NET / General / December 2007

Tip: Looking for answers? Try searching our database.

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

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
prady - 29 Dec 2007 18:34 GMT
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
Ian Semmel - 29 Dec 2007 19:48 GMT
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:prady@discussions.microsoft.com]
[quoted text clipped - 17 lines]
> Thanks in advance
> Prady
Phil H - 29 Dec 2007 22:46 GMT
> You can add your own functions to your custom membership provider class.
>
[quoted text clipped - 28 lines]
>
> - 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?

Rate this thread:







Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.