Using advanced settings for access roles
An access role is different from a work party role that defines which types of parties can appear in work items.
To test whether the current user holds a role, call the standard Boolean function:
Lib(Pega-RULES:Default).HaveRole(this, "rolename").