1 protected void CreateUserWizard1_CreatedUser(object sender, EventArgs e)
2 {
3 Roles.AddUserToRole(CreateUserWizard1.UserName, "Role name as string");
4 }
Welcome to my blog, a treasure trove of practical information and real-life experiences. I share valuable tips, life hacks, and lessons learned from day-to-day encounters. From productivity to wellness advice, let's explore life's ups and downs, finding inspiration in ordinary moments. Join me on this journey to make each day more fulfilling and successful.
11 March, 2009
Add user to a role using CreateUserWizard.
It's mutch simpler than you might thought. Just double click on your CreateUserWizard and add a line between the lines what appeared.
Subscribe to:
Post Comments (Atom)
Thanks dear
ReplyDeletethankyou very much
ReplyDelete