auth:roles

Retrieves all the roles of the user with the given name or userId specified.

Syntax
<auth:roles
   id="..."
   name="..."?
   userId="..."?/>
Attributes
id, mandatory, no runtime expressions

Name of the scripting-variable. This tag will set a java.util.List of com.ndc.auth.api.domain.UserRole objects to this scripting variable

name

Name of the scripting-variable where to get the user information from. This can be a PresentationUser, PresentationPerson or Person object.

userId

The ID of the user to find roles