Component hiding using isAuthorized()

Hello All,

I have a Perspective project with a button that I am trying to make visible only when the correct user is logged in. I have a "Sign On" button on the same view that has an "Onclick" Authentication Challenge. On the button that I would like to be visible, I have a binding to the Visible property. In it's expression, I am using

isAuthorized(false, 'Authenticated/Roles/MyConfiguredRole')

I have added the role to my profile, so I was expecting the visibility to be set to true after clicking the Sign On button. But it remains false. Can someone help me out as to where I am going wrong please?

Security Level is not the same thing as Role. isAuthorized is looking at Security Levels, but you are providing a Role.