code: public function memberOf()
      {
          $groups = array($this->getParent()->channelGroupGetById($this["client_channel_group_id"]));
  
          foreach (explode(",", $this["client_servergroups"]) as $sgid) {
              $groups[] = $this->getParent()->serverGroupGetById($sgid);
          }
  
          return $groups;
      }
docs: Returns all server and channel groups the client is currently residing in.
  
  @return array