CreateUserWizard::CreatingUser Event
.NET Framework (current version)
Occurs before the membership provider is called to create the new Web site user account.
Assembly: System.Web (in System.Web.dll)
The CreatingUser event is raised prior to calling the CreateUser method on the membership provider specified in the MembershipProvider property.
Use the CreatingUser event to establish defaults or modify the information entered by the user before passing the information to the membership provider.
For more information about handling events, see NIB: Consuming Events.
The following code example uses the CreatingUser event to make the UserName property all lowercase before submitting it to the membership provider specified in the MembershipProvider property.
.NET Framework
Available since 2.0
Available since 2.0
Show: