Forum Discussion

Prabha45's avatar
Prabha45
Icon for Helper III rankHelper III
3 years ago
Solved

Enable/Disable button based on user login

Hi  I had a button in my report which redirects to a Web URL. I need this button to be enable for only 5 users which takes them to the web page and others should not go to the web page when they c...
  • parry2k's avatar
    3 years ago

    Prabha45 try this, add a measure for the URL Link and then use that in the action of the button:

     

    URL Link = IF ( USERPRINCIPALNAME() IN { "[email protected]", "[email protected]" }, "www.google.com" )

     

    Click fx and then use the above measure: