Remote Database question - Adding new users & their ROLEs / Memberships
Posted: Fri 16 Mar 2007 15:56
Bear with me - newbie to all of this, but learning fast.
For Roles/Membership assignments, I seemingly have to use the VS Web Site Admin tool to populate my aspnet_roles and aspnet_membersinroles. After populating my MySql DB and creating those roles, I extracted the contents and then ran the SQL commands on my production site (via their SQL interface). Works fine.
Now the issue: I have a couple of new users that I need to add and I'm not sure the best way to do this. The ROLES created by the initial steps generated "hashed" ROLES (along with userid, etc.) So I *could* go to my ISP server and manually Add my users, but the ROLES field is hashed/terse. If I do that, should I just Copy & Paste one of the other hashed one's?
This all seems a bit convuluted and I think there MUST be an easier way. So what is the PROPER way to do this? Like I said, the ROLES appears to be hashed or something and I don't have a VS WSAT on the ISP server -- only a SQL interface to the MySql DB I created.
Thanks so much. (I have a follow-up question I'll post in a separate thread).
For Roles/Membership assignments, I seemingly have to use the VS Web Site Admin tool to populate my aspnet_roles and aspnet_membersinroles. After populating my MySql DB and creating those roles, I extracted the contents and then ran the SQL commands on my production site (via their SQL interface). Works fine.
Now the issue: I have a couple of new users that I need to add and I'm not sure the best way to do this. The ROLES created by the initial steps generated "hashed" ROLES (along with userid, etc.) So I *could* go to my ISP server and manually Add my users, but the ROLES field is hashed/terse. If I do that, should I just Copy & Paste one of the other hashed one's?
This all seems a bit convuluted and I think there MUST be an easier way. So what is the PROPER way to do this? Like I said, the ROLES appears to be hashed or something and I don't have a VS WSAT on the ISP server -- only a SQL interface to the MySql DB I created.
Thanks so much. (I have a follow-up question I'll post in a separate thread).