|
code
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Customizing create user wizardHi
I am using create user wizard with sql server based membership/roles. I have the following questions; 1. How can I get rid of the security question and answer as I don't need it in my app? 2. How can I get the control to send an email to the "office" so they can authorise the account before it can be activated for the user? 3. How can I take off the restriction from password to have one non-alphanumeric character? Thanks Regards A follow-up question; how can I get the user to fill additional fields
surname & in addition to what fields are already in the create user wizard? Thanks Show quoteHide quote "John" <John@nospam.infovis.co.uk> wrote in message news:uOOJSKFAGHA.1600@TK2MSFTNGP11.phx.gbl... > Hi > > I am using create user wizard with sql server based membership/roles. I > have the following questions; > > 1. How can I get rid of the security question and answer as I don't need > it in my app? > > 2. How can I get the control to send an email to the "office" so they can > authorise the account before it can be activated for the user? > > 3. How can I take off the restriction from password to have one > non-alphanumeric character? > > Thanks > > Regards > > Read the documentation for MembershipProvider. It has properties you can
set in your web.config for 1 & 3. For 2, you will have to insert some custom logic. You can do that by adding an additional step to the Create User Wizard, or by responding to the CreatedUser event that is raised. To answer your follow up about adding additional fields, you can add more TextBox controls to the template for the first step in the Wizard. In VS2005, you can right-click on the wizard control and choose Customize template, and it will expand the HTML view so that it can be edited. John wrote: Show quoteHide quote > Hi > > I am using create user wizard with sql server based membership/roles. I have > the following questions; > > 1. How can I get rid of the security question and answer as I don't need it > in my app? > > 2. How can I get the control to send an email to the "office" so they can > authorise the account before it can be activated for the user? > > 3. How can I take off the restriction from password to have one > non-alphanumeric character? > > Thanks > > Regards > > I meant to include this link as an example of adding a new step to the
wizard: http://weblogs.asp.net/scottgu/archive/2005/10/18/427754.aspx There are also good tutorials to teach the basics for all of the new controls (includeing CreateUserWizard) here: http://www.asp.net/Tutorials/quickstart.aspx Joshua Flanagan http://flimflan.com/blog
Error Rendering Control - ButtonSearch An unhandled exception has occurred. There was an error pars
Label Style Result not expected with user control - any ideas why/ Problem adding attributes to DataListItem.. OnDayRender won't render Role based security Trouble with radio button list in Asp.net 1.1 ObjectDataSource DateTime isuue with en-gb culture CSS Issue With User Control in an HTML Table Templated User Control & intellisense |
|||||||||||||||||||||||