public List<?> getPropertyValues(String propertyName) {
return getPropertyValues(getUserProperty(propertyName));
}
public Object getPropertyValue(String propertyName, UserProfile profile) {
UserPropertyMeta prop = getUserProperty(propertyName);
UserProperty property = profile.getProperty(prop);
if (null == property) return null;
return unmarshal(property.getValue(), prop);
}