> ## Documentation Index
> Fetch the complete documentation index at: https://docs.kinetica.com/llms.txt
> Use this file to discover all available pages before exploring further.

# gpudb::RevokePermissionDirectoryRequest

> gpudb::RevokePermissionDirectoryRequest — Kinetica C++ API

<div className="kinetica-doxygen">
  <div className="contents">
    <p>A set of parameters for <a className="el" href="/content/api/cpp/classgpudb_1_1GPUdb#a5f793acdd5d6c5214db0c5e0aef29465">GPUdb::revokePermissionDirectory</a>. <a href="#details">More...</a></p>
    <p><code>#include \<<a className="el" href="/content/api/cpp/revoke__permission__directory_8h_source">gpudb/protocol/revoke\_permission\_directory.h</a>></code></p>

    <table className="memberdecls">
      <tr className="heading">
        <td colSpan="2">
          <h2 className="groupheader"> Public Member Functions</h2>
        </td>
      </tr>

      <tr className="memitem:a91f33484a0af222085545666601929a4" id="r_a91f33484a0af222085545666601929a4">
        <td className="memItemLeft" align="right" valign="top"> </td>
        <td className="memItemRight" valign="bottom"><a className="el" href="#a91f33484a0af222085545666601929a4">RevokePermissionDirectoryRequest</a> ()</td>
      </tr>

      <tr className="memdesc:a91f33484a0af222085545666601929a4">
        <td className="mdescLeft"> </td>
        <td className="mdescRight">Constructs a <a className="el" href="/content/api/cpp/structgpudb_1_1RevokePermissionDirectoryRequest" title="A set of parameters for GPUdb::revokePermissionDirectory.">RevokePermissionDirectoryRequest</a> object with default parameters. <br /></td>
      </tr>

      <tr className="separator:a91f33484a0af222085545666601929a4">
        <td className="memSeparator" colSpan="2"> </td>
      </tr>

      <tr className="memitem:ad748562e89ed631cb212dbdfdd80c601" id="r_ad748562e89ed631cb212dbdfdd80c601">
        <td className="memItemLeft" align="right" valign="top"> </td>
        <td className="memItemRight" valign="bottom"><a className="el" href="#ad748562e89ed631cb212dbdfdd80c601">RevokePermissionDirectoryRequest</a> (const std::string \&name\_, const std::string \&permission\_, const std::string \&directoryName\_, const std::map\< std::string, std::string > \&options\_)</td>
      </tr>

      <tr className="memdesc:ad748562e89ed631cb212dbdfdd80c601">
        <td className="mdescLeft"> </td>
        <td className="mdescRight">Constructs a <a className="el" href="/content/api/cpp/structgpudb_1_1RevokePermissionDirectoryRequest" title="A set of parameters for GPUdb::revokePermissionDirectory.">RevokePermissionDirectoryRequest</a> object with the specified parameters. <br /></td>
      </tr>

      <tr className="separator:ad748562e89ed631cb212dbdfdd80c601">
        <td className="memSeparator" colSpan="2"> </td>
      </tr>
    </table>

    <table className="memberdecls">
      <tr className="heading">
        <td colSpan="2">
          <h2 className="groupheader"> Public Attributes</h2>
        </td>
      </tr>

      <tr className="memitem:aeb04cc2e6aab98342603fa03ee8399c5" id="r_aeb04cc2e6aab98342603fa03ee8399c5">
        <td className="memItemLeft" align="right" valign="top">std::string </td>
        <td className="memItemRight" valign="bottom"><a className="el" href="#aeb04cc2e6aab98342603fa03ee8399c5">name</a></td>
      </tr>

      <tr className="memdesc:aeb04cc2e6aab98342603fa03ee8399c5">
        <td className="mdescLeft"> </td>
        <td className="mdescRight">Name of the user or role from which the permission will be revoked. <br /></td>
      </tr>

      <tr className="separator:aeb04cc2e6aab98342603fa03ee8399c5">
        <td className="memSeparator" colSpan="2"> </td>
      </tr>

      <tr className="memitem:ab8d19de41b55eb817914379478a97923" id="r_ab8d19de41b55eb817914379478a97923">
        <td className="memItemLeft" align="right" valign="top">std::string </td>
        <td className="memItemRight" valign="bottom"><a className="el" href="#ab8d19de41b55eb817914379478a97923">permission</a></td>
      </tr>

      <tr className="memdesc:ab8d19de41b55eb817914379478a97923">
        <td className="mdescLeft"> </td>
        <td className="mdescRight">Permission to revoke from the user or role. <br /></td>
      </tr>

      <tr className="separator:ab8d19de41b55eb817914379478a97923">
        <td className="memSeparator" colSpan="2"> </td>
      </tr>

      <tr className="memitem:a98a4b4f141b67d32d5d548edc400638c" id="r_a98a4b4f141b67d32d5d548edc400638c">
        <td className="memItemLeft" align="right" valign="top">std::string </td>
        <td className="memItemRight" valign="bottom"><a className="el" href="#a98a4b4f141b67d32d5d548edc400638c">directoryName</a></td>
      </tr>

      <tr className="memdesc:a98a4b4f141b67d32d5d548edc400638c">
        <td className="mdescLeft"> </td>
        <td className="mdescRight">Name of the KiFS directory to which the permission revokes access. <br /></td>
      </tr>

      <tr className="separator:a98a4b4f141b67d32d5d548edc400638c">
        <td className="memSeparator" colSpan="2"> </td>
      </tr>

      <tr className="memitem:a18e793ba6b1ce66a87dcee3c491bfa3a" id="r_a18e793ba6b1ce66a87dcee3c491bfa3a">
        <td className="memItemLeft" align="right" valign="top">std::map\< std::string, std::string > </td>
        <td className="memItemRight" valign="bottom"><a className="el" href="#a18e793ba6b1ce66a87dcee3c491bfa3a">options</a></td>
      </tr>

      <tr className="memdesc:a18e793ba6b1ce66a87dcee3c491bfa3a">
        <td className="mdescLeft"> </td>
        <td className="mdescRight">Optional parameters. <br /></td>
      </tr>

      <tr className="separator:a18e793ba6b1ce66a87dcee3c491bfa3a">
        <td className="memSeparator" colSpan="2"> </td>
      </tr>
    </table>

    <h2 className="groupheader">Detailed Description</h2>

    <div className="textblock">
      <p>A set of parameters for <a className="el" href="/content/api/cpp/classgpudb_1_1GPUdb#a5f793acdd5d6c5214db0c5e0aef29465">GPUdb::revokePermissionDirectory</a>. </p>
      <p>Revokes a <a href="/content/tools/kifs/" target="_top">KiFS</a> directory-level permission from a user or role. </p>
      <p className="definition">Definition at line <a className="el" href="/content/api/cpp/revoke__permission__directory_8h_source#l00019">19</a> of file <a className="el" href="/content/api/cpp/revoke__permission__directory_8h_source">revoke\_permission\_directory.h</a>.</p>
    </div>

    <h2 className="groupheader">Constructor & Destructor Documentation</h2>
    <h2 className="memtitle"><span className="permalink"><a href="#a91f33484a0af222085545666601929a4">◆ </a></span>RevokePermissionDirectoryRequest() <span className="overload">\[1/2]</span></h2>

    <div className="memitem">
      <div className="memproto">
        <table className="mlabels">
          <tr>
            <td className="mlabels-left">
              <table className="memname">
                <tr>
                  <td className="memname">gpudb::RevokePermissionDirectoryRequest::RevokePermissionDirectoryRequest </td>
                  <td>(</td>

                  <td className="paramname">
                    <span className="paramname">
                      <span className="em" />
                    </span>
                  </td>

                  <td>)</td>

                  <td />
                </tr>
              </table>
            </td>

            <td className="mlabels-right"> <span className="mlabels"><span className="mlabel inline">inline</span></span> </td>
          </tr>
        </table>
      </div>

      <div className="memdoc">
        <p>Constructs a <a className="el" href="/content/api/cpp/structgpudb_1_1RevokePermissionDirectoryRequest" title="A set of parameters for GPUdb::revokePermissionDirectory.">RevokePermissionDirectoryRequest</a> object with default parameters. </p>
        <p className="definition">Definition at line <a className="el" href="/content/api/cpp/revoke__permission__directory_8h_source#l00025">25</a> of file <a className="el" href="/content/api/cpp/revoke__permission__directory_8h_source">revoke\_permission\_directory.h</a>.</p>
      </div>
    </div>

    <h2 className="memtitle"><span className="permalink"><a href="#ad748562e89ed631cb212dbdfdd80c601">◆ </a></span>RevokePermissionDirectoryRequest() <span className="overload">\[2/2]</span></h2>

    <div className="memitem">
      <div className="memproto">
        <table className="mlabels">
          <tr>
            <td className="mlabels-left">
              <table className="memname">
                <tr>
                  <td className="memname">gpudb::RevokePermissionDirectoryRequest::RevokePermissionDirectoryRequest </td>
                  <td>(</td>
                  <td className="paramtype">const std::string &</td>
                  <td className="paramname"><span className="paramname"><span className="em">name\_</span></span>, </td>
                </tr>

                <tr>
                  <td className="paramkey" />

                  <td />

                  <td className="paramtype">const std::string &</td>
                  <td className="paramname"><span className="paramname"><span className="em">permission\_</span></span>, </td>
                </tr>

                <tr>
                  <td className="paramkey" />

                  <td />

                  <td className="paramtype">const std::string &</td>
                  <td className="paramname"><span className="paramname"><span className="em">directoryName\_</span></span>, </td>
                </tr>

                <tr>
                  <td className="paramkey" />

                  <td />

                  <td className="paramtype">const std::map\< std::string, std::string > &</td>
                  <td className="paramname"><span className="paramname"><span className="em">options\_</span></span> )</td>
                </tr>
              </table>
            </td>

            <td className="mlabels-right"> <span className="mlabels"><span className="mlabel inline">inline</span></span> </td>
          </tr>
        </table>
      </div>

      <div className="memdoc">
        <p>Constructs a <a className="el" href="/content/api/cpp/structgpudb_1_1RevokePermissionDirectoryRequest" title="A set of parameters for GPUdb::revokePermissionDirectory.">RevokePermissionDirectoryRequest</a> object with the specified parameters. </p>

        <div className="dl params">
          <div className="dt">Parameters</div>

          <div className="dd">
            <table className="params">
              <tr>
                <td className="paramdir">\[in]</td>
                <td className="paramname">name\_</td>
                <td>Name of the user or role from which the permission will be revoked. Must be an existing user or role. </td>
              </tr>

              <tr>
                <td className="paramdir">\[in]</td>
                <td className="paramname">permission\_</td>

                <td>
                  Permission to revoke from the user or role. Supported values:

                  <ul>
                    <li> <a className="el" href="/content/api/cpp/namespacegpudb#a38b6d7ae52943783786f521e530c4353">revoke\_permission\_directory\_directory\_read</a>: For files in the directory, access to list files, download files, or use files in server side functions. </li>
                    <li> <a className="el" href="/content/api/cpp/namespacegpudb#a4d279d88a4084ac3e31e904afe861b4f">revoke\_permission\_directory\_directory\_write</a>: Access to upload files to, or delete files from, the directory. A user or role with write access automatically has read access. </li>
                  </ul>
                </td>
              </tr>

              <tr>
                <td className="paramdir">\[in]</td>
                <td className="paramname">directoryName\_</td>
                <td>Name of the KiFS directory to which the permission revokes access. </td>
              </tr>

              <tr>
                <td className="paramdir">\[in]</td>
                <td className="paramname">options\_</td>
                <td>Optional parameters. The default value is an empty map. </td>
              </tr>
            </table>
          </div>
        </div>

        <p className="definition">Definition at line <a className="el" href="/content/api/cpp/revoke__permission__directory_8h_source#l00061">61</a> of file <a className="el" href="/content/api/cpp/revoke__permission__directory_8h_source">revoke\_permission\_directory.h</a>.</p>
      </div>
    </div>

    <h2 className="groupheader">Member Data Documentation</h2>
    <h2 className="memtitle"><span className="permalink"><a href="#a98a4b4f141b67d32d5d548edc400638c">◆ </a></span>directoryName</h2>

    <div className="memitem">
      <div className="memproto">
        <table className="memname">
          <tr>
            <td className="memname">std::string gpudb::RevokePermissionDirectoryRequest::directoryName</td>
          </tr>
        </table>
      </div>

      <div className="memdoc">
        <p>Name of the KiFS directory to which the permission revokes access. </p>
        <p className="definition">Definition at line <a className="el" href="/content/api/cpp/revoke__permission__directory_8h_source#l00094">94</a> of file <a className="el" href="/content/api/cpp/revoke__permission__directory_8h_source">revoke\_permission\_directory.h</a>.</p>
      </div>
    </div>

    <h2 className="memtitle"><span className="permalink"><a href="#aeb04cc2e6aab98342603fa03ee8399c5">◆ </a></span>name</h2>

    <div className="memitem">
      <div className="memproto">
        <table className="memname">
          <tr>
            <td className="memname">std::string gpudb::RevokePermissionDirectoryRequest::name</td>
          </tr>
        </table>
      </div>

      <div className="memdoc">
        <p>Name of the user or role from which the permission will be revoked. </p>
        <p>Must be an existing user or role. </p>
        <p className="definition">Definition at line <a className="el" href="/content/api/cpp/revoke__permission__directory_8h_source#l00073">73</a> of file <a className="el" href="/content/api/cpp/revoke__permission__directory_8h_source">revoke\_permission\_directory.h</a>.</p>
      </div>
    </div>

    <h2 className="memtitle"><span className="permalink"><a href="#a18e793ba6b1ce66a87dcee3c491bfa3a">◆ </a></span>options</h2>

    <div className="memitem">
      <div className="memproto">
        <table className="memname">
          <tr>
            <td className="memname">std::map\<std::string, std::string> gpudb::RevokePermissionDirectoryRequest::options</td>
          </tr>
        </table>
      </div>

      <div className="memdoc">
        <p>Optional parameters. </p>
        <p>The default value is an empty map. </p>
        <p className="definition">Definition at line <a className="el" href="/content/api/cpp/revoke__permission__directory_8h_source#l00099">99</a> of file <a className="el" href="/content/api/cpp/revoke__permission__directory_8h_source">revoke\_permission\_directory.h</a>.</p>
      </div>
    </div>

    <h2 className="memtitle"><span className="permalink"><a href="#ab8d19de41b55eb817914379478a97923">◆ </a></span>permission</h2>

    <div className="memitem">
      <div className="memproto">
        <table className="memname">
          <tr>
            <td className="memname">std::string gpudb::RevokePermissionDirectoryRequest::permission</td>
          </tr>
        </table>
      </div>

      <div className="memdoc">
        <p>Permission to revoke from the user or role. </p>
        <p>Supported values: </p>

        <ul>
          <li> <a className="el" href="/content/api/cpp/namespacegpudb#a38b6d7ae52943783786f521e530c4353">revoke\_permission\_directory\_directory\_read</a>: For files in the directory, access to list files, download files, or use files in server side functions. </li>
          <li> <a className="el" href="/content/api/cpp/namespacegpudb#a4d279d88a4084ac3e31e904afe861b4f">revoke\_permission\_directory\_directory\_write</a>: Access to upload files to, or delete files from, the directory. A user or role with write access automatically has read access. </li>
        </ul>

        <p className="definition">Definition at line <a className="el" href="/content/api/cpp/revoke__permission__directory_8h_source#l00089">89</a> of file <a className="el" href="/content/api/cpp/revoke__permission__directory_8h_source">revoke\_permission\_directory.h</a>.</p>
      </div>
    </div>

    <hr />

    The documentation for this struct was generated from the following file:

    <ul>
      <li>gpudb/protocol/<a className="el" href="/content/api/cpp/revoke__permission__directory_8h_source">revoke\_permission\_directory.h</a></li>
    </ul>
  </div>
</div>
