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.IsInRole("<somegroup>") returning false????</somegroup>

User.IsInRole("<somegroup>") returning false????</somegroup>

Scheduled Pinned Locked Moved ASP.NET
sysadminwindows-adminquestion
1 Posts 1 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.
  • P Offline
    P Offline
    pnslcs
    wrote on last edited by
    #1

    Howdy, I have had a web site running for some time now and I am constantly having issues with the statement User.IsInRole ("somegroup") returning a false value. It does not always happen but often the user is a memeber of the group which membership is being tested but the statement returns false. The application makes decisions based upon the return value and then the user does not have proper access to certain functionality within the site. We normally have to stop and start the application pool on the iis server. Is there anything I am doing wrong? thanks Patrick

    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