As we transition to the new Hyland Community, some post links may be temporarily disrupted as we finalize redirects. We apologize for the inconvenience and are working to resolve this as quickly as possible. Details.
final QName PROP_QNAME_EMAIL = QName.createQName("http://www.alfresco.org/model/content/1.0", "email"); final Map<QName, Serializable> properties = nodeService.getProperties(nodeRef); properties.get(PROP_QNAME_EMAIL)
final Set<String> authorities = authorityService.getContainedAuthorities(AuthorityType.GROUP, "GROUP_PMO support", false);
final Set<String> authorities = authorityService.getContainedAuthorities(AuthorityType.USER, "GROUP_PMO support", false); for (final String authority : authorities) { final NodeRef person = personService.getPerson(authority); final Map<QName, Serializable> properties = nodeService.getProperties(person); LOGGER.debug(properties.get(ContentModel.PROP_EMAIL).toString()); }