Member
240 Points
39 Posts
Dec 14, 2008 07:56 PM|jw91|LINK
Add the following to the code behind CreateUser declaration. protected void CreateUserWizard1_CreatedUser(object sender, System.EventArgs e) { Roles.AddUserToRole(this.CreateUserWizard1.UserName, "Friend"); } If this helps please mark post as answered. Take care.
Add the following to the code behind CreateUser declaration.
protected void CreateUserWizard1_CreatedUser(object sender, System.EventArgs e) {
Roles.AddUserToRole(this.CreateUserWizard1.UserName, "Friend");
}
If this helps please mark post as answered.
Take care.
Member
240 Points
39 Posts
Re: Can I change Personal web site starter kit to allow automatic role assignment as "Friend" to...
Dec 14, 2008 07:56 PM|jw91|LINK