logger.debug( "user.getLastName()="+ user.getLastName());
profile.setAttributes(userAttributes);
// user roles
RoleServiceSoapServiceLocator rService = new RoleServiceSoapServiceLocator();
RoleServiceSoap roleService = rService.getPortal_RoleService(_getURL("Portal_RoleService"));
RoleSoap[] roles = roleService.getUserRoles(Integer.parseInt(userId));
String[] roleNames = new String[roles.length];
if (roles != null) {
int i = 0;
while (i<roles.length) {