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. Hi Guys , i don't know how to deny an event

Hi Guys , i don't know how to deny an event

Scheduled Pinned Locked Moved ASP.NET
tutorialquestionhelp
3 Posts 3 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.
  • M Offline
    M Offline
    Mohammed Amine
    wrote on last edited by
    #1

    Hi , i learned some stuffs at membership , but it just alow you to allow or deny users depend on their roles from seeing or not a page i repeat a PAGE , but what i actually want is deny or alow them to do something , i will explain , i wantto allow the same page to Users that have "Basic" role & also to Users have the "Admin" one , but the admin can see more things , for example the basic user can ust see wires that the machine he work in cut . ut the admin can see the list of all the wires cut in all the factory . can you tell me how can i do that ? i mean deny the basic user from seeing all wires & alow the admin to do that stuff there is a radobutton named "All" here i have the problem i don't want te basic user to see that button or whatever the necessary is denying him from seeing all wires thank you

    try to be good if you can't be the best

    N D 2 Replies Last reply
    0
    • M Mohammed Amine

      Hi , i learned some stuffs at membership , but it just alow you to allow or deny users depend on their roles from seeing or not a page i repeat a PAGE , but what i actually want is deny or alow them to do something , i will explain , i wantto allow the same page to Users that have "Basic" role & also to Users have the "Admin" one , but the admin can see more things , for example the basic user can ust see wires that the machine he work in cut . ut the admin can see the list of all the wires cut in all the factory . can you tell me how can i do that ? i mean deny the basic user from seeing all wires & alow the admin to do that stuff there is a radobutton named "All" here i have the problem i don't want te basic user to see that button or whatever the necessary is denying him from seeing all wires thank you

      try to be good if you can't be the best

      N Offline
      N Offline
      Not Active
      wrote on last edited by
      #2

      Check IsInRole then enable/disable the control as appropriate


      only two letters away from being an asset

      1 Reply Last reply
      0
      • M Mohammed Amine

        Hi , i learned some stuffs at membership , but it just alow you to allow or deny users depend on their roles from seeing or not a page i repeat a PAGE , but what i actually want is deny or alow them to do something , i will explain , i wantto allow the same page to Users that have "Basic" role & also to Users have the "Admin" one , but the admin can see more things , for example the basic user can ust see wires that the machine he work in cut . ut the admin can see the list of all the wires cut in all the factory . can you tell me how can i do that ? i mean deny the basic user from seeing all wires & alow the admin to do that stuff there is a radobutton named "All" here i have the problem i don't want te basic user to see that button or whatever the necessary is denying him from seeing all wires thank you

        try to be good if you can't be the best

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

        please try this (event name) -= (event); see if this can help 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