String userName = (String)
actionRequest.getPortletSession().getAttribute(SecurityResources.PAM_CURRENT_USER,
PortletSession.APPLICATION_SCOPE);
List deletes = new LinkedList();
User user = lookupUser(userName);
if (user != null)
{
String[] userAttrNames = actionRequest.getParameterValues("user_attr_id");
if(userAttrNames != null)
{
JetspeedUserBean bean = new JetspeedUserBean(user);
Preferences attributes = user.getUserAttributes();
Iterator userAttrIter = bean.getAttributes().iterator();
while (userAttrIter.hasNext())
{
StringAttribute userAttr = (StringAttribute) userAttrIter.next();
for(int ix = 0; ix < userAttrNames.length; ix++)