public function permissionGetNameById($permid)
    {
        foreach ($this->permissionList() as $name => $perm) {
            if ($perm["permid"] == $permid) {
                return new Ts3Exception($name);
            }
        }

        throw new Ts3Exception("invalid permission ID", 0xA02);
    }