I'm trying to determine where I would add the following line Utils.BaseRoleProvider().AddUsersToRoles(new string[] {user.UserName}, new string[] {"theRole"});
so that when the membership request is filled out(it's locked down to site admins and above only) the user would be added to the role automatically. Any pointers in the right direction would be greatly appreciated.
Thanks
Brian
so that when the membership request is filled out(it's locked down to site admins and above only) the user would be added to the role automatically. Any pointers in the right direction would be greatly appreciated.
Thanks
Brian