public function permissionFind($permid)
  {
    $permident = (is_numeric($permid)) ? "permid" : "permsid";

    return $this->execute("permfind", array($permident => $permid))->toArray();
  }
public function permissionFind($permid)
  {
    $permident = (is_numeric($permid)) ? "permid" : "permsid";

    return $this->execute("permfind", array($permident => $permid))->toArray();
  }
public function permissionFind ( $ permid ) { $ permident = ( is_numeric ( $ permid ) ) ? "permid" : "permsid" ; return $ this -> execute ( "permfind" , array ( $ permident => $ permid ) ) -> toArray ( ) ; }
Returns the IDs of all clients, channels or groups using the permission with the
specified ID.

@param  integer $permid
@return array
Returns the IDs of all clients channels or groups using the permission with the specified ID .