Users
The following functions allow you to interact with the User/Role system through expression bindings.
ποΈ hasRole
Returns true if the user has the given role. The username and usersource parameters are optional in the client scope, but required in the Gateway scope.
ποΈ isAuthorized
Returns a qualified value with a boolean value which is true if the user in the current Session is authorized, false otherwise.