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. Sitemap Menu by profils

Sitemap Menu by profils

Scheduled Pinned Locked Moved ASP.NET
csharpvisual-studiosecurityhelptutorial
4 Posts 3 Posters 4 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
    diacoboss
    wrote on last edited by
    #1

    Hi Everyone ! I have have small problem. "I work with visual studio 2005." HOW to do if i want to load different Menus depending on the profil of users (general admin, local admin, simple user) I have a connection page there is an authentication by windows, after this the welcome page contains Different menus I need to know HOW to DO to LOAD the right menu acording to the users rights. My menu is directly in the Master Page Thank for Helping me

    Y S 2 Replies Last reply
    0
    • D diacoboss

      Hi Everyone ! I have have small problem. "I work with visual studio 2005." HOW to do if i want to load different Menus depending on the profil of users (general admin, local admin, simple user) I have a connection page there is an authentication by windows, after this the welcome page contains Different menus I need to know HOW to DO to LOAD the right menu acording to the users rights. My menu is directly in the Master Page Thank for Helping me

      Y Offline
      Y Offline
      Yusuf
      wrote on last edited by
      #2

      you load different menus for different user. One way to do is supply different datasource. See CP Article: Populating Menu Control in ASP.NET 2.0 - using different data sources[^]

      Yusuf Can I help you?

      1 Reply Last reply
      0
      • D diacoboss

        Hi Everyone ! I have have small problem. "I work with visual studio 2005." HOW to do if i want to load different Menus depending on the profil of users (general admin, local admin, simple user) I have a connection page there is an authentication by windows, after this the welcome page contains Different menus I need to know HOW to DO to LOAD the right menu acording to the users rights. My menu is directly in the Master Page Thank for Helping me

        S Offline
        S Offline
        SayreCC
        wrote on last edited by
        #3

        Hi, its depend on the users who log if you want to enabled or disabled a menu. for example: ''Masterpage load Session("users")=id_manager if session("users") = id_manager then menu1.enabled=true else menu1.enabled=false endif Hope this one can help Thanks

        D 1 Reply Last reply
        0
        • S SayreCC

          Hi, its depend on the users who log if you want to enabled or disabled a menu. for example: ''Masterpage load Session("users")=id_manager if session("users") = id_manager then menu1.enabled=true else menu1.enabled=false endif Hope this one can help Thanks

          D Offline
          D Offline
          diacoboss
          wrote on last edited by
          #4

          Thanks guys I will try this tonite I will tell you

          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