class UserServiceImpl implements UserService {

    @Override
    public Long getUserOrganisationId(Long userId, Long applicationId) {
        ProcessRoleResource userApplicationRole = userRestService.findProcessRole(userId, applicationId).getSuccess();
        return userApplicationRole.getOrganisationId();
    }

}