/** * @return array */ public function getAuthorizedGroups() { if (!$this->authUserGroups) { $this->authUserGroups = Factory::getAccess()->getGroupsByUser($this->get('ID')); } return $this->authUserGroups; }