Check Role not working ?


I created an admin role in my application and I use CheckAdminRole(Session.UserId) in a conditional if and it always returns true, even when remove the admin role from myself.

Hi Michael,

When you remove that Admin Role from the user, don't forget to logoff and login again with the user. Are you still having trouble?

That  nailed it, thanks!