Quantcast
Channel: Security
Viewing all articles
Browse latest Browse all 4737

Reference a non logged in user with user.isinrole

$
0
0

Hi

I need to reference roles for a user other than the current user, whilst logged into a web app. I'm looking for something like

If User("Username").isinrole then
     Do something
End If

Obviously, above syntax is incorrect and it won't take the username variable. Is there a way to achieve this? To reiterate, I am not interested in the roles for current user.

Thanks

Steve


Viewing all articles
Browse latest Browse all 4737

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>