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. General Programming
  3. C#
  4. Implementing database roles on menu and button level

Implementing database roles on menu and button level

Scheduled Pinned Locked Moved C#
databasequestion
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.
  • D Offline
    D Offline
    DotNetXenon
    wrote on last edited by
    #1

    In SQL database, I have role,process and menu table mappings for showing/hiding menu based on the logged on user's role. I need to show/hide certain buttons in the application based on the roles and processes. How do I do this? Please point in the right direction

    ------------------------------------------------------------ "The only true wisdom is in knowing you know nothing." --Socrates

    P 1 Reply Last reply
    0
    • D DotNetXenon

      In SQL database, I have role,process and menu table mappings for showing/hiding menu based on the logged on user's role. I need to show/hide certain buttons in the application based on the roles and processes. How do I do this? Please point in the right direction

      ------------------------------------------------------------ "The only true wisdom is in knowing you know nothing." --Socrates

      P Offline
      P Offline
      Pete OHanlon
      wrote on last edited by
      #2

      In ASP.NET? WinForms? Using the standard roles/membership provider?

      "WPF has many lovers. It's a veritable porn star!" - Josh Smith

      As Braveheart once said, "You can take our freedom but you'll never take our Hobnobs!" - Martin Hughes.

      My blog | My articles | MoXAML PowerToys | Onyx

      D 1 Reply Last reply
      0
      • P Pete OHanlon

        In ASP.NET? WinForms? Using the standard roles/membership provider?

        "WPF has many lovers. It's a veritable porn star!" - Josh Smith

        As Braveheart once said, "You can take our freedom but you'll never take our Hobnobs!" - Martin Hughes.

        My blog | My articles | MoXAML PowerToys | Onyx

        D Offline
        D Offline
        DotNetXenon
        wrote on last edited by
        #3

        In ASP.net 3.5. I have some roles which can't be in AD group. Need to put them in sql database.

        ------------------------------------------------------------ "The only true wisdom is in knowing you know nothing." --Socrates

        P 1 Reply Last reply
        0
        • D DotNetXenon

          In ASP.net 3.5. I have some roles which can't be in AD group. Need to put them in sql database.

          ------------------------------------------------------------ "The only true wisdom is in knowing you know nothing." --Socrates

          P Offline
          P Offline
          Pete OHanlon
          wrote on last edited by
          #4

          Take a look at this[^] to get some information about ASP.NET membership and roles. Next time, try posting ASP.NET questions in the ASP.NET forum.

          "WPF has many lovers. It's a veritable porn star!" - Josh Smith

          As Braveheart once said, "You can take our freedom but you'll never take our Hobnobs!" - Martin Hughes.

          My blog | My articles | MoXAML PowerToys | Onyx

          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