How can I set or what is the code for the Boolean element of a
community/collection administrator? What to put inside the
getAttribute("") function. I would like to assign a function that is
only for a community/collection administrator, not including the
system administrator. Is this possible? Thank you for your response.
Example:
For a system administrator, it is:
Boolean admin = (Boolean)request.getAttribute("is.admin");
boolean isAdmin = (admin == null ? false : admin.booleanValue());
|