> ## 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.

# showSecurity

<div className="kinetica-doxygen">
  <div id="a40c433cf19b0cc02dea2b197924e5a22" />

  <h2 className="memtitle"><span className="permalink"><a href="#a40c433cf19b0cc02dea2b197924e5a22">◆ </a></span>showSecurity() <span className="overload">\[1/4]</span></h2>

  <div className="memitem">
    <div className="memproto">
      <table className="memname">
        <tr>
          <td className="memname"><a className="el" href="/content/api/cpp/structgpudb_1_1ShowSecurityResponse">ShowSecurityResponse</a> gpudb::GPUdb::showSecurity </td>
          <td>(</td>
          <td className="paramtype">const <a className="el" href="/content/api/cpp/structgpudb_1_1ShowSecurityRequest">ShowSecurityRequest</a> &</td>
          <td className="paramname"><span className="paramname"><span className="em">request\_</span></span></td>
          <td>)</td>
          <td> const</td>
        </tr>
      </table>
    </div>

    <div className="memdoc">
      <p>Shows security information relating to users and/or roles. </p>
      <p>If the caller is not a system administrator, only information relating to the caller and their roles is returned.</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">request\_</td>
              <td><a className="el" href="/content/api/cpp/structgpudb_1_1ShowSecurityRequest">Request</a> object containing the parameters for the operation.</td>
            </tr>
          </table>
        </div>
      </div>

      <div className="dl section return">
        <div className="dt">Returns</div>
        <div className="dd"><a className="el" href="/content/api/cpp/structgpudb_1_1ShowSecurityResponse">Response</a> object containing the result of the operation. </div>
      </div>
    </div>
  </div>

  <div id="ac04015d3b7c2003b2a428b29c5cdf47a" />

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

  <div className="memitem">
    <div className="memproto">
      <table className="memname">
        <tr>
          <td className="memname"><a className="el" href="/content/api/cpp/structgpudb_1_1ShowSecurityResponse">ShowSecurityResponse</a> & gpudb::GPUdb::showSecurity </td>
          <td>(</td>
          <td className="paramtype">const <a className="el" href="/content/api/cpp/structgpudb_1_1ShowSecurityRequest">ShowSecurityRequest</a> &</td>
          <td className="paramname"><span className="paramname"><span className="em">request\_</span></span>, </td>
        </tr>

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

          <td />

          <td className="paramtype"><a className="el" href="/content/api/cpp/structgpudb_1_1ShowSecurityResponse">ShowSecurityResponse</a> &</td>
          <td className="paramname"><span className="paramname"><span className="em">response\_</span></span> ) const</td>
        </tr>
      </table>
    </div>

    <div className="memdoc">
      <p>Shows security information relating to users and/or roles. </p>
      <p>If the caller is not a system administrator, only information relating to the caller and their roles is returned.</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">request\_</td>
              <td><a className="el" href="/content/api/cpp/structgpudb_1_1ShowSecurityRequest">Request</a> object containing the parameters for the operation. </td>
            </tr>

            <tr>
              <td className="paramdir">\[out]</td>
              <td className="paramname">response\_</td>
              <td><a className="el" href="/content/api/cpp/structgpudb_1_1ShowSecurityResponse">Response</a> object containing the results of the operation.</td>
            </tr>
          </table>
        </div>
      </div>

      <div className="dl section return">
        <div className="dt">Returns</div>
        <div className="dd"><a className="el" href="/content/api/cpp/structgpudb_1_1ShowSecurityResponse">Response</a> object containing the result of the operation (initially passed in by reference). </div>
      </div>
    </div>
  </div>

  <div id="acca9c93b40c72ff151c7d8abb60c59af" />

  <h2 className="memtitle"><span className="permalink"><a href="#acca9c93b40c72ff151c7d8abb60c59af">◆ </a></span>showSecurity() <span className="overload">\[3/4]</span></h2>

  <div className="memitem">
    <div className="memproto">
      <table className="memname">
        <tr>
          <td className="memname"><a className="el" href="/content/api/cpp/structgpudb_1_1ShowSecurityResponse">ShowSecurityResponse</a> gpudb::GPUdb::showSecurity </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> ) const</td>
        </tr>
      </table>
    </div>

    <div className="memdoc">
      <p>Shows security information relating to users and/or roles. </p>
      <p>If the caller is not a system administrator, only information relating to the caller and their roles is returned.</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>

      <div className="dl section return">
        <div className="dt">Returns</div>
        <div className="dd"><a className="el" href="/content/api/cpp/structgpudb_1_1ShowSecurityResponse">Response</a> object containing the result of the operation. </div>
      </div>
    </div>
  </div>

  <div id="ab8545998de2f9115da768db51cabf7f7" />

  <h2 className="memtitle"><span className="permalink"><a href="#ab8545998de2f9115da768db51cabf7f7">◆ </a></span>showSecurity() <span className="overload">\[4/4]</span></h2>

  <div className="memitem">
    <div className="memproto">
      <table className="memname">
        <tr>
          <td className="memname"><a className="el" href="/content/api/cpp/structgpudb_1_1ShowSecurityResponse">ShowSecurityResponse</a> & gpudb::GPUdb::showSecurity </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>

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

          <td />

          <td className="paramtype"><a className="el" href="/content/api/cpp/structgpudb_1_1ShowSecurityResponse">ShowSecurityResponse</a> &</td>
          <td className="paramname"><span className="paramname"><span className="em">response\_</span></span> ) const</td>
        </tr>
      </table>
    </div>

    <div className="memdoc">
      <p>Shows security information relating to users and/or roles. </p>
      <p>If the caller is not a system administrator, only information relating to the caller and their roles is returned.</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>

            <tr>
              <td className="paramdir">\[out]</td>
              <td className="paramname">response\_</td>
              <td><a className="el" href="/content/api/cpp/structgpudb_1_1ShowSecurityResponse">Response</a> object containing the results of the operation.</td>
            </tr>
          </table>
        </div>
      </div>

      <div className="dl section return">
        <div className="dt">Returns</div>
        <div className="dd"><a className="el" href="/content/api/cpp/structgpudb_1_1ShowSecurityResponse">Response</a> object containing the result of the operation (initially passed in by reference). </div>
      </div>
    </div>
  </div>
</div>
