Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. ASP.NET
  4. User Based Menus....

User Based Menus....

Scheduled Pinned Locked Moved ASP.NET
csharpasp-nettutorial
4 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M Offline
    M Offline
    Member 3879881
    wrote on last edited by
    #1

    Hi in my web page, some of the users have limited rights & some others are admin, the limited users can access some of the pages only, i have menu bars in my asp.net page, my doubt is,when he logged on......,based on the user rights what are the menus he can access that only want to display for him, how to do that, plz if u have code plz send me....., Regards,

    Magesh

    V 1 Reply Last reply
    0
    • M Member 3879881

      Hi in my web page, some of the users have limited rights & some others are admin, the limited users can access some of the pages only, i have menu bars in my asp.net page, my doubt is,when he logged on......,based on the user rights what are the menus he can access that only want to display for him, how to do that, plz if u have code plz send me....., Regards,

      Magesh

      V Offline
      V Offline
      Vsree
      wrote on last edited by
      #2

      hi For this, you can assign some priorities for the users based on their authentication level. Say, for Admin the priority can be '1',Manager be '2' etc.. and save it in the table where you save the login details. While clicking enter key of the Login page,u can check the user's Username,Password and this priority and based on that, you make the menu items disabled or their click events not to fire... This way you can do... ~VSree

      M 2 Replies Last reply
      0
      • V Vsree

        hi For this, you can assign some priorities for the users based on their authentication level. Say, for Admin the priority can be '1',Manager be '2' etc.. and save it in the table where you save the login details. While clicking enter key of the Login page,u can check the user's Username,Password and this priority and based on that, you make the menu items disabled or their click events not to fire... This way you can do... ~VSree

        M Offline
        M Offline
        Member 3879881
        wrote on last edited by
        #3

        Thanks......

        Magesh

        1 Reply Last reply
        0
        • V Vsree

          hi For this, you can assign some priorities for the users based on their authentication level. Say, for Admin the priority can be '1',Manager be '2' etc.. and save it in the table where you save the login details. While clicking enter key of the Login page,u can check the user's Username,Password and this priority and based on that, you make the menu items disabled or their click events not to fire... This way you can do... ~VSree

          M Offline
          M Offline
          Member 3879881
          wrote on last edited by
          #4

          Hi sree, I tried but i didnt get solution......:(, If u have any sample code for this send me...., regards,

          Magesh

          1 Reply Last reply
          0
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          • Login

          • Don't have an account? Register

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • World
          • Users
          • Groups