long groupId = PortalUtil.getScopeGroupId(request); long companyId = PortalUtil.getCompanyId(request); long userId=PortalUtil.getUserId(request);