Hi guys
I have the following code which should put any registering users into the role "User":
protected void CreateUserWizard1_CreatedUser(object sender, EventArgs e)
{
Roles.AddUserToRole((sender as CreateUserWizard).UserName, "User");
}
But whenever I register dummy users, they are not placed into any roles.
Any ideas?
Richard
...
Go to the complete details ...