> ## 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::ShowSecurityRequest

> gpudb::ShowSecurityRequest — 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#a40c433cf19b0cc02dea2b197924e5a22">GPUdb::showSecurity</a>. <a href="#details">More...</a></p>
    <p><code>#include \<<a className="el" href="/content/api/cpp/show__security_8h_source">gpudb/protocol/show\_security.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:a615712b24a776b7199aab705cf66e18f" id="r_a615712b24a776b7199aab705cf66e18f">
        <td className="memItemLeft" align="right" valign="top"> </td>
        <td className="memItemRight" valign="bottom"><a className="el" href="#a615712b24a776b7199aab705cf66e18f">ShowSecurityRequest</a> ()</td>
      </tr>

      <tr className="memdesc:a615712b24a776b7199aab705cf66e18f">
        <td className="mdescLeft"> </td>
        <td className="mdescRight">Constructs a <a className="el" href="/content/api/cpp/structgpudb_1_1ShowSecurityRequest" title="A set of parameters for GPUdb::showSecurity.">ShowSecurityRequest</a> object with default parameters. <br /></td>
      </tr>

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

      <tr className="memitem:a5f7d2c84d44eac094b8ed9320a8bae97" id="r_a5f7d2c84d44eac094b8ed9320a8bae97">
        <td className="memItemLeft" align="right" valign="top"> </td>
        <td className="memItemRight" valign="bottom"><a className="el" href="#a5f7d2c84d44eac094b8ed9320a8bae97">ShowSecurityRequest</a> (const std::vector\< std::string > \&names\_, const std::map\< std::string, std::string > \&options\_)</td>
      </tr>

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

      <tr className="separator:a5f7d2c84d44eac094b8ed9320a8bae97">
        <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:a2e759274d9c9a2609d405597c16edd42" id="r_a2e759274d9c9a2609d405597c16edd42">
        <td className="memItemLeft" align="right" valign="top">std::vector\< std::string > </td>
        <td className="memItemRight" valign="bottom"><a className="el" href="#a2e759274d9c9a2609d405597c16edd42">names</a></td>
      </tr>

      <tr className="memdesc:a2e759274d9c9a2609d405597c16edd42">
        <td className="mdescLeft"> </td>
        <td className="mdescRight">A list of names of users and/or roles about which security information is requested. <br /></td>
      </tr>

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

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

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

      <tr className="separator:a35655724dfebaba9371b565dfa476330">
        <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#a40c433cf19b0cc02dea2b197924e5a22">GPUdb::showSecurity</a>. </p>
      <p>Shows security information relating to users and/or roles. If the caller is not a system administrator, only information relating to the caller and their roles is returned. </p>
      <p className="definition">Definition at line <a className="el" href="/content/api/cpp/show__security_8h_source#l00020">20</a> of file <a className="el" href="/content/api/cpp/show__security_8h_source">show\_security.h</a>.</p>
    </div>

    <h2 className="groupheader">Constructor & Destructor Documentation</h2>
    <h2 className="memtitle"><span className="permalink"><a href="#a615712b24a776b7199aab705cf66e18f">◆ </a></span>ShowSecurityRequest() <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::ShowSecurityRequest::ShowSecurityRequest </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_1ShowSecurityRequest" title="A set of parameters for GPUdb::showSecurity.">ShowSecurityRequest</a> object with default parameters. </p>
        <p className="definition">Definition at line <a className="el" href="/content/api/cpp/show__security_8h_source#l00025">25</a> of file <a className="el" href="/content/api/cpp/show__security_8h_source">show\_security.h</a>.</p>
      </div>
    </div>

    <h2 className="memtitle"><span className="permalink"><a href="#a5f7d2c84d44eac094b8ed9320a8bae97">◆ </a></span>ShowSecurityRequest() <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::ShowSecurityRequest::ShowSecurityRequest </td>
                  <td>(</td>
                  <td className="paramtype">const std::vector\< std::string > &</td>
                  <td className="paramname"><span className="paramname"><span className="em">names\_</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_1ShowSecurityRequest" title="A set of parameters for GPUdb::showSecurity.">ShowSecurityRequest</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">names\_</td>
                <td>A list of names of users and/or roles about which security information is requested. If none are provided, information about all users and roles will be returned. </td>
              </tr>

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

                <td>
                  Optional parameters.

                  <ul>
                    <li>
                      <a className="el" href="/content/api/cpp/namespacegpudb#a3c94f8f210d7fb5a32bf4facb02b0ca8">show\_security\_show\_current\_user</a>: If <a className="el" href="/content/api/cpp/namespacegpudb#ae3ada38970a156ce4d085be047d436b0">true</a>, returns only security information for the current user. Supported values:

                      <ul>
                        <li> <a className="el" href="/content/api/cpp/namespacegpudb#ae3ada38970a156ce4d085be047d436b0">show\_security\_true</a> </li>
                        <li> <a className="el" href="/content/api/cpp/namespacegpudb#aaa39aa054ac5b23243b497332c1a0dbf">show\_security\_false</a> </li>
                      </ul>

                      The default value is <a className="el" href="/content/api/cpp/namespacegpudb#aaa39aa054ac5b23243b497332c1a0dbf">show\_security\_false</a>.
                    </li>
                  </ul>

                  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/show__security_8h_source#l00060">60</a> of file <a className="el" href="/content/api/cpp/show__security_8h_source">show\_security.h</a>.</p>
      </div>
    </div>

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

    <div className="memitem">
      <div className="memproto">
        <table className="memname">
          <tr>
            <td className="memname">std::vector\<std::string> gpudb::ShowSecurityRequest::names</td>
          </tr>
        </table>
      </div>

      <div className="memdoc">
        <p>A list of names of users and/or roles about which security information is requested. </p>
        <p>If none are provided, information about all users and roles will be returned. </p>
        <p className="definition">Definition at line <a className="el" href="/content/api/cpp/show__security_8h_source#l00071">71</a> of file <a className="el" href="/content/api/cpp/show__security_8h_source">show\_security.h</a>.</p>
      </div>
    </div>

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

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

      <div className="memdoc">
        <p>Optional parameters. </p>

        <ul>
          <li>
            <a className="el" href="/content/api/cpp/namespacegpudb#a3c94f8f210d7fb5a32bf4facb02b0ca8">show\_security\_show\_current\_user</a>: If <a className="el" href="/content/api/cpp/namespacegpudb#ae3ada38970a156ce4d085be047d436b0">true</a>, returns only security information for the current user. Supported values:

            <ul>
              <li> <a className="el" href="/content/api/cpp/namespacegpudb#ae3ada38970a156ce4d085be047d436b0">show\_security\_true</a> </li>
              <li> <a className="el" href="/content/api/cpp/namespacegpudb#aaa39aa054ac5b23243b497332c1a0dbf">show\_security\_false</a> </li>
            </ul>

            The default value is <a className="el" href="/content/api/cpp/namespacegpudb#aaa39aa054ac5b23243b497332c1a0dbf">show\_security\_false</a>.
          </li>
        </ul>

        <p>The default value is an empty map. </p>
        <p className="definition">Definition at line <a className="el" href="/content/api/cpp/show__security_8h_source#l00091">91</a> of file <a className="el" href="/content/api/cpp/show__security_8h_source">show\_security.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/show__security_8h_source">show\_security.h</a></li>
    </ul>
  </div>
</div>
