public function channelClientPermAssign($cid, $cldbid, $permid, $permvalue)
  {
    $permident = (is_numeric($permid)) ? "permid" : "permsid";

    $this->execute("channelclientaddperm", array("cid" => $cid, "cldbid" => $cldbid, $permident => $permid, "permvalue" => $permvalue));
  }