ALES Tags
Tag getUserRoles


The getUserRoles tag will query the ALES system for the set of roles that a user currently has in the system for the requested action and requested resource. It will return the collection of role names as a variable defined by the var attribute.


Tag Information
Tag Classcom.bea.ales.tags.GetUserRolesTag
TagExtraInfo ClassNone
Body ContentJSP
Display NameNone

Attributes
NameRequiredRequest-timeTypeDescription
resourceyesfalsejava.lang.StringThe resource to pass into isAccessAllowed. If setSecurityContext has been used, then this resource will be pre-pended with that value.
actionnofalsejava.lang.StringThe action to pass into getUserRoles
resultVarnofalsejava.lang.StringThe name of the collection of strings variable that will contain all the user's roles.
resultVarScopenofalsejava.lang.StringThe scope of the resultVar variable. It can be PAGE, REQUEST, SESSION or APPLICATION. The default scope will be PAGE.

Variables
No Variables Defined.


Output Generated by Tag Library Documentation Generator. Java, JSP, and JavaServer Pages are trademarks or registered trademarks of Sun Microsystems, Inc. in the US and other countries. Copyright 2002-4 Sun Microsystems, Inc. 4150 Network Circle Santa Clara, CA 95054, U.S.A. All Rights Reserved.