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());

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
DSpace-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-tech

Reply via email to