locked
Creating a website with users and administrator and how to set privileges and authentication RRS feed

  • Question

  • User181052745 posted

    i am creating a website in which i need to create users of type administrator and user.I have to write a code  which first identifies if the user is administrator or user.Based upon that redirect the user to the respective pages of administrator or user. and set privileges and authentication based upon that.I have been using login control in asp.net.

    Can anyone suggest what should be the steps??

    Thanks

    Monday, September 29, 2014 7:55 AM

Answers

  • User-760709272 posted

    Google ASP.Net Membership, or "asp.net identity" depending which version of the framework\vs you're using.  When you create a new project there are options for authentication models to use, simply select one and use it.

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Monday, September 29, 2014 8:13 AM