use of org.activiti.engine.identity.Group in project Activiti by Activiti.
the class DefaultViewManager method getGroupIds.
protected List<String> getGroupIds(String userId) {
List<String> groupIds = new ArrayList<String>();
List<Group> groups = identityService.createGroupQuery().groupMember(userId).list();
for (Group group : groups) {
groupIds.add(group.getId());
}
return groupIds;
}
Aggregations