Como: Habilitar o inscrição do usuário
If your application uses the ASP.NET membership system to authenticate users, you can use the CreateUserWizard control to allow users to create a new user entry in the membership system (The CreateUserWizard control can also be used by administrators to create new users).
Observação: |
---|
If your Web application uses Integrated Windows authentication, you cannot create or manage users from the application.Para obter mais informações, consulte Limitando acesso a sites da Web ASP.NET. |
For information on how to configure your application to use membership, see Introdução à Associação for more details.
To enable user registration
Create or edit an ASP.NET Web page that does not require permissions.
Place a CreateUserWizard control on the page using the following syntax:
<asp:CreateUserWizard ID="CreateUserWizard1" Runat="server"> </asp:CreateUserWizard>
Set the ContinueDestinationPageUrl property to the URL of the page that users will visit after completing registration, such as your home page or a member page.
Observação: When users complete the registration form, by default they are logged in automatically.
Consulte também
Tarefas
Como: Personalizar o controle CreateUserWizard ASP.NET