11-03-2014 09:28 AM
11-03-2014 12:51 PM
**
* List the members of the site. This includes both users and groups.
* <p>
* Name and role filters are optional and if not specified all the members of the site are returned.
*
* @param shortName site short name
* @param nameFilter name filter
* @param roleFilter role filter
* @param size max results size crop if >0
* @return Map<String, String> the authority name and their role
*/
@NotAuditable
Map<String, String> listMembers(String shortName, String nameFilter, String roleFilter, int size);
11-04-2014 03:32 AM
11-04-2014 09:12 AM
Set<AccessPermission> allPermissions = permissionService.getAllSetPermissions(myNodeRef);
for (AccessPermission ap : allPermissions)
{
if (ap.getPermission().equals(PermissionService.COORDINATOR))
{
//is coordinator
}
}
Tags
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.