ASP.NET Video Tutorials
ASP.NET Login Controls
Add User To Roles Using CreateUserWizard CreatedUser Event

Remember we used the CreateUserWizard to render a registration form on our website. This control has many events and in this video we’ll use one of its event, the CreatedUser which is raised after a user has been created. We want to make sure that when the “Register” button is clicked the created user is added to our Role. We’ll then create an event handler for this event, which will check to see if this particular user has already been added to the role, if not it will add the username of this new user to the role that we specify

Leave A Reply (No comments So Far)

No comments yet

Powered by WishList Member - Membership Site Software