I'm creating a script where I need some security in who can click a button. Previously I had done this via user code and hard coded the users into the script. But it would be much simpler if I could get the current user's role and just use that for my security definition. Is there a session variable for the current role? What if the user has 2 roles assigned? Thanks.
↧