isUserInRole()

The j2EELib.isUserInRole() system function indicates whether the user is included in a specified role. The function is available in JSF handlers.

Syntax

  j2eeLib.isUserInRole(securityRole STRING)
     returns (result BOOLEAN)
securityRole
One of the security roles assigned by the developer.
result
The Boolean value TRUE or FALSE

Feedback