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 expressionsName of the scripting-variable. This tag will set a
java.util.List
ofcom.ndc.auth.api.domain.UserRole
objects to this scripting variablename
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