c# - Creating New Roles Error -
How do I add the role of this website?
I was lost in step 4. Creating new roles ..
Secure Zero CreateRoleButton_Click (Object Sender, EventArgs e) {string newRoleName = RoleName.Text.Trim (); If (roles! Reelxists (Narylenam)) // Create Role Roles. Creareol (Neurolam); RoleName.Text = string.Empty; } After my work I did this .. I found this error: Name 'roles' is not present in the current context ..
What did I do? > Step 2: Define and configure roles framework provider
em> and step 3: roles API check ? Please make sure your codebehind reference System.Web.Security namespace. Step up to ensure that all configurations are made to implement role-based authentication.
For more information see, which explain the full configuration for roles.
Comments
Post a Comment