auth_role

Check if the authenticated user has the specific user role This function is overridable from the custom helpers/auth_helper.php

Parameters
string $role

The user role name or id

#
Returns
boolean