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

# createUserInternal

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

  <h2 className="memtitle"><span className="permalink"><a href="#a00da63ad9e89859132ae0b44226d9015">◆ </a></span>createUserInternal() <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_1CreateUserInternalResponse">CreateUserInternalResponse</a> gpudb::GPUdb::createUserInternal </td>
          <td>(</td>
          <td className="paramtype">const <a className="el" href="/content/api/cpp/structgpudb_1_1CreateUserInternalRequest">CreateUserInternalRequest</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>Creates a new internal user (a user whose credentials are managed by the database system). </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_1CreateUserInternalRequest">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_1CreateUserInternalResponse">Response</a> object containing the result of the operation. </div>
      </div>
    </div>
  </div>

  <div id="adefdfd170305aab9d2c49023c4122f46" />

  <h2 className="memtitle"><span className="permalink"><a href="#adefdfd170305aab9d2c49023c4122f46">◆ </a></span>createUserInternal() <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_1CreateUserInternalResponse">CreateUserInternalResponse</a> & gpudb::GPUdb::createUserInternal </td>
          <td>(</td>
          <td className="paramtype">const <a className="el" href="/content/api/cpp/structgpudb_1_1CreateUserInternalRequest">CreateUserInternalRequest</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_1CreateUserInternalResponse">CreateUserInternalResponse</a> &</td>
          <td className="paramname"><span className="paramname"><span className="em">response\_</span></span> ) const</td>
        </tr>
      </table>
    </div>

    <div className="memdoc">
      <p>Creates a new internal user (a user whose credentials are managed by the database system). </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_1CreateUserInternalRequest">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_1CreateUserInternalResponse">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_1CreateUserInternalResponse">Response</a> object containing the result of the operation (initially passed in by reference). </div>
      </div>
    </div>
  </div>

  <div id="afac3f442800a21affe448aac71d6c10b" />

  <h2 className="memtitle"><span className="permalink"><a href="#afac3f442800a21affe448aac71d6c10b">◆ </a></span>createUserInternal() <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_1CreateUserInternalResponse">CreateUserInternalResponse</a> gpudb::GPUdb::createUserInternal </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">password</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>Creates a new internal user (a user whose credentials are managed by the database system). </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 to be created. Must contain only lowercase letters, digits, and underscores, and cannot begin with a digit. Must not be the same name as an existing user or role. </td>
            </tr>

            <tr>
              <td className="paramdir">\[in]</td>
              <td className="paramname">password</td>
              <td>Initial password of the user to be created. May be an empty string for no password. </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#a7eb777a1a597f5a1e3970afa452494b0">create\_user\_internal\_activated</a>: Is the user allowed to login. Supported values:

                    <ul>
                      <li> <a className="el" href="/content/api/cpp/namespacegpudb#ab60cb39a81e1a932dc819dc2ddb478a5">create\_user\_internal\_true</a>: User may login. </li>
                      <li> <a className="el" href="/content/api/cpp/namespacegpudb#af9ea71b4289809dc994bab3c99680750">create\_user\_internal\_false</a>: User may not login. </li>
                    </ul>

                    The default value is <a className="el" href="/content/api/cpp/namespacegpudb#ab60cb39a81e1a932dc819dc2ddb478a5">create\_user\_internal\_true</a>.
                  </li>

                  <li>
                    <a className="el" href="/content/api/cpp/namespacegpudb#ab45a5d4f3fda1f3cd4e374ef812d0df7">create\_user\_internal\_create\_home\_directory</a>: When <a className="el" href="/content/api/cpp/namespacegpudb#ab60cb39a81e1a932dc819dc2ddb478a5">true</a>, a home directory in KiFS is created for this user. Supported values:

                    <ul>
                      <li> <a className="el" href="/content/api/cpp/namespacegpudb#ab60cb39a81e1a932dc819dc2ddb478a5">create\_user\_internal\_true</a> </li>
                      <li> <a className="el" href="/content/api/cpp/namespacegpudb#af9ea71b4289809dc994bab3c99680750">create\_user\_internal\_false</a> </li>
                    </ul>

                    The default value is <a className="el" href="/content/api/cpp/namespacegpudb#ab60cb39a81e1a932dc819dc2ddb478a5">create\_user\_internal\_true</a>.
                  </li>

                  <li> <a className="el" href="/content/api/cpp/namespacegpudb#a1ef594329600bc9f2b2598d0e6d70e1b">create\_user\_internal\_default\_schema</a>: Default schema to associate with this user. </li>
                  <li> <a className="el" href="/content/api/cpp/namespacegpudb#a53d2f5c597c8b760067cc00d91f47d1d">create\_user\_internal\_directory\_data\_limit</a>: The maximum capacity to apply to the created directory if <a className="el" href="/content/api/cpp/namespacegpudb#ab45a5d4f3fda1f3cd4e374ef812d0df7">create\_home\_directory</a> is <a className="el" href="/content/api/cpp/namespacegpudb#ab60cb39a81e1a932dc819dc2ddb478a5">true</a>. Set to -1 to indicate no upper limit. If empty, the system default limit is applied. </li>
                  <li> <a className="el" href="/content/api/cpp/namespacegpudb#ad0269eedd215ae86df0e34bff1b78b53">create\_user\_internal\_resource\_group</a>: Name of an existing resource group to associate with this user. </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_1CreateUserInternalResponse">Response</a> object containing the result of the operation. </div>
      </div>
    </div>
  </div>

  <div id="ae94b0a8211f45f2a1be1c00a6c226cbf" />

  <h2 className="memtitle"><span className="permalink"><a href="#ae94b0a8211f45f2a1be1c00a6c226cbf">◆ </a></span>createUserInternal() <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_1CreateUserInternalResponse">CreateUserInternalResponse</a> & gpudb::GPUdb::createUserInternal </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">password</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_1CreateUserInternalResponse">CreateUserInternalResponse</a> &</td>
          <td className="paramname"><span className="paramname"><span className="em">response\_</span></span> ) const</td>
        </tr>
      </table>
    </div>

    <div className="memdoc">
      <p>Creates a new internal user (a user whose credentials are managed by the database system). </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 to be created. Must contain only lowercase letters, digits, and underscores, and cannot begin with a digit. Must not be the same name as an existing user or role. </td>
            </tr>

            <tr>
              <td className="paramdir">\[in]</td>
              <td className="paramname">password</td>
              <td>Initial password of the user to be created. May be an empty string for no password. </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#a7eb777a1a597f5a1e3970afa452494b0">create\_user\_internal\_activated</a>: Is the user allowed to login. Supported values:

                    <ul>
                      <li> <a className="el" href="/content/api/cpp/namespacegpudb#ab60cb39a81e1a932dc819dc2ddb478a5">create\_user\_internal\_true</a>: User may login. </li>
                      <li> <a className="el" href="/content/api/cpp/namespacegpudb#af9ea71b4289809dc994bab3c99680750">create\_user\_internal\_false</a>: User may not login. </li>
                    </ul>

                    The default value is <a className="el" href="/content/api/cpp/namespacegpudb#ab60cb39a81e1a932dc819dc2ddb478a5">create\_user\_internal\_true</a>.
                  </li>

                  <li>
                    <a className="el" href="/content/api/cpp/namespacegpudb#ab45a5d4f3fda1f3cd4e374ef812d0df7">create\_user\_internal\_create\_home\_directory</a>: When <a className="el" href="/content/api/cpp/namespacegpudb#ab60cb39a81e1a932dc819dc2ddb478a5">true</a>, a home directory in KiFS is created for this user. Supported values:

                    <ul>
                      <li> <a className="el" href="/content/api/cpp/namespacegpudb#ab60cb39a81e1a932dc819dc2ddb478a5">create\_user\_internal\_true</a> </li>
                      <li> <a className="el" href="/content/api/cpp/namespacegpudb#af9ea71b4289809dc994bab3c99680750">create\_user\_internal\_false</a> </li>
                    </ul>

                    The default value is <a className="el" href="/content/api/cpp/namespacegpudb#ab60cb39a81e1a932dc819dc2ddb478a5">create\_user\_internal\_true</a>.
                  </li>

                  <li> <a className="el" href="/content/api/cpp/namespacegpudb#a1ef594329600bc9f2b2598d0e6d70e1b">create\_user\_internal\_default\_schema</a>: Default schema to associate with this user. </li>
                  <li> <a className="el" href="/content/api/cpp/namespacegpudb#a53d2f5c597c8b760067cc00d91f47d1d">create\_user\_internal\_directory\_data\_limit</a>: The maximum capacity to apply to the created directory if <a className="el" href="/content/api/cpp/namespacegpudb#ab45a5d4f3fda1f3cd4e374ef812d0df7">create\_home\_directory</a> is <a className="el" href="/content/api/cpp/namespacegpudb#ab60cb39a81e1a932dc819dc2ddb478a5">true</a>. Set to -1 to indicate no upper limit. If empty, the system default limit is applied. </li>
                  <li> <a className="el" href="/content/api/cpp/namespacegpudb#ad0269eedd215ae86df0e34bff1b78b53">create\_user\_internal\_resource\_group</a>: Name of an existing resource group to associate with this user. </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_1CreateUserInternalResponse">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_1CreateUserInternalResponse">Response</a> object containing the result of the operation (initially passed in by reference). </div>
      </div>
    </div>
  </div>
</div>
