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
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
  1. Home
  2. Web Development
  3. ASP.NET
  4. Security Trimming Enabled

Security Trimming Enabled

Scheduled Pinned Locked Moved ASP.NET
questionsecurity
3 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.
  • K Offline
    K Offline
    kenexcelon
    wrote on last edited by
    #1

    All, I have a sitemap source and the web.config has Security Trimming Enabled. "<sitemapnode title="User Administration" roles="Admin"></sitemapnode>" My question is how would I get to allow 2 different roles on the same node? Say Admin, and AccountAdmin?

    Revolutionary: Disk drives go round and round.

    G 1 Reply Last reply
    0
    • K kenexcelon

      All, I have a sitemap source and the web.config has Security Trimming Enabled. "<sitemapnode title="User Administration" roles="Admin"></sitemapnode>" My question is how would I get to allow 2 different roles on the same node? Say Admin, and AccountAdmin?

      Revolutionary: Disk drives go round and round.

      G Offline
      G Offline
      Guffa
      wrote on last edited by
      #2

      The attribute name roles suggests that the value can contain more than one role. I haven't checked the documentation for this attribute, but I know that the users attribute takes a comma separated list of users, have you tried a comma separated list of roles?

      Despite everything, the person most likely to be fooling you next is yourself.

      K 1 Reply Last reply
      0
      • G Guffa

        The attribute name roles suggests that the value can contain more than one role. I haven't checked the documentation for this attribute, but I know that the users attribute takes a comma separated list of users, have you tried a comma separated list of roles?

        Despite everything, the person most likely to be fooling you next is yourself.

        K Offline
        K Offline
        kenexcelon
        wrote on last edited by
        #3

        I have not tried that and didn't know. Just really starting. I will give that a shot first thing in the morning.

        Revolutionary: Disk drives go round and round.

        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