IPerson person = null;
try {
IPersonAttributeDao pa = PersonAttributeDaoLocator.getPersonAttributeDao();
final IPersonAttributes personAttributes = pa.getPerson(member.getKey());
RestrictedPerson rp = PersonFactory.createRestrictedPerson();
if (personAttributes != null) {
rp.setAttributes(personAttributes.getAttributes());
}
person = rp;
}
catch (Exception ex) {