This functionality is only available for certain module packages.

You are here: Reference > Formula Language > Formulas > Components > Methods for component System > hasRole(String role)

hasRole(String role)

Delivers true if the authorized EEC user has the assigned user role, otherwise false is delivered.

hasRole(String role)
Argument String role User role
Return value Boolean true = user has the assigned user role
false = user has another user role