ALES Tags
Tag isUserInRole


The isUserInRole tag is a conditional and cooperative tag. If the user is in the role specified, the body of the tag will be processed. If the user has the role passed into the tag attribute, the body of the tag will be processed. In addition the result var can be used for later processing.


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

Attributes
NameRequiredRequest-timeTypeDescription
roleyesfalsejava.lang.StringThe name of the role to check against the user.
resourcenofalsejava.lang.StringThe resource to pass into isAccessAllowed. If setSecurityContext has bee used then this resource will be pre-pended with the value from it.
actionnofalsejava.lang.StringThe action to pass into isAccessAllowed
resultVarnofalsejava.lang.StringThe name of the boolean variable that will express whether the user has a role or not.
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.