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. Asp.net role management at individual control level ????

Asp.net role management at individual control level ????

Scheduled Pinned Locked Moved ASP.NET
csharpasp-netdatabasesql-servercom
6 Posts 4 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.
  • J Offline
    J Offline
    jarajeshwaran
    wrote on last edited by
    #1

    Hi, I am working on an ASP.net application with 3.5 framework. I need to implement control level role management i.e: the ability to hide or disable a control based on the users role or group credentials. Since I need to do this across all controls in the page I want a simple framework based on which I can implement this across the application without much effort and uniform accross the app. I am using windows authentication and sql server provided role management for authentication and role management. Pointers and references in this directions will be deeply appreciated. J.Anandarajeshwaran WWW.BeginWithDisbelief.com

    hi hi hi hi

    K 1 Reply Last reply
    0
    • J jarajeshwaran

      Hi, I am working on an ASP.net application with 3.5 framework. I need to implement control level role management i.e: the ability to hide or disable a control based on the users role or group credentials. Since I need to do this across all controls in the page I want a simple framework based on which I can implement this across the application without much effort and uniform accross the app. I am using windows authentication and sql server provided role management for authentication and role management. Pointers and references in this directions will be deeply appreciated. J.Anandarajeshwaran WWW.BeginWithDisbelief.com

      hi hi hi hi

      K Offline
      K Offline
      Kannan Ar
      wrote on last edited by
      #2

      Are you looking for Login View[^] control?

      J 1 Reply Last reply
      0
      • K Kannan Ar

        Are you looking for Login View[^] control?

        J Offline
        J Offline
        jarajeshwaran
        wrote on last edited by
        #3

        No I am not looking for loginviewcontrol. say for example:- let us have 2 roles clerk and approver. say clerk has rights to create order and edit order approver has rights to only approve order when a user with clerk credentials logs in only create and edit buttons to be available if he is approver only approve button to be available. lovinviewcontrol will do the trick for implementing this. but my requirement is if someone with the role of clerk and approver(multiple roles to the same user) logs in he must have create,edit and approve all the buttons available. how can I implement this????

        hi hi hi hi

        N 1 Reply Last reply
        0
        • J jarajeshwaran

          No I am not looking for loginviewcontrol. say for example:- let us have 2 roles clerk and approver. say clerk has rights to create order and edit order approver has rights to only approve order when a user with clerk credentials logs in only create and edit buttons to be available if he is approver only approve button to be available. lovinviewcontrol will do the trick for implementing this. but my requirement is if someone with the role of clerk and approver(multiple roles to the same user) logs in he must have create,edit and approve all the buttons available. how can I implement this????

          hi hi hi hi

          N Offline
          N Offline
          netJP12L
          wrote on last edited by
          #4

          You can create user groups, roles and controls. Roles could basically have permissions so when you are about to show any control go through the roles or security list and check which ones are applied.

          M 1 Reply Last reply
          0
          • N netJP12L

            You can create user groups, roles and controls. Roles could basically have permissions so when you are about to show any control go through the roles or security list and check which ones are applied.

            M Offline
            M Offline
            Maxdd 7
            wrote on last edited by
            #5

            [Message Deleted]

            N 1 Reply Last reply
            0
            • M Maxdd 7

              [Message Deleted]

              N Offline
              N Offline
              netJP12L
              wrote on last edited by
              #6

              Well, during the user creation you can define the user by assignning it to a specific group, authentication type like windows or application, and roles. You may want to store them in the database and should be have normalize tables. Furthermore, You may perhaps have a group mainteance page or role maintenance where these could be maintained. So when the specific user is logged in to the system. You through the groups and roles and check what kinds of layout this user should be able to view.

              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