The easy way of creating new users and settings roles to the existing users is that we can see one icon in the solution explorer named "ASP.NET Configuration"
By clicking this icon we get a new window opened in which we have three links present name
1)Security , 2)Application Configuration , 3)Provider Configuration - with the existing data if any
Now in these threee links click security link for creating users,roles and maintaining users, for creating new roles click Create or Manage roles now we get one textbox and a button where we should type the role we want in our application like Admin,User etc.. your own role names you can write.
After creating roles go for creating users by clicking Create User we get another page in which we have to fill in the details asked and set the role for that user and click "Create User".Do Remember the password because while logging in the website it is important.
If you want to edit the deatils or change the role of any user then click the link name Manage User ,there we can edit any detail of that user.
After creating the roles and users and also assigning the roles to the particular users we can close that window and try logging in the website you have developed.
No comments:
Post a Comment