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

# create_user_internal

### create\_user\_internal

<ul>
  <li>
    create\_user\_internal(\
    &#x20;name: string,\
    &#x20;password: string,\
    &#x20;options?: Record\<string, string>,\
    &#x20;callback?: [GPUdbCallback](https://docs.kinetica.com/content/api/typescript/types/GPUdbCallback.md),\
    ): Promise\<[CreateUserInternalResponse](https://docs.kinetica.com/content/api/typescript/interfaces/CreateUserInternalResponse.md)>

    Creates a new internal user (a user whose credentials are managed by the database system).

    #### Parameters

    <ul>
      <li>
        name: string

        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.
      </li>

      <li>
        password: string

        Initial password of the user to be created. May be an empty string for no password.
      </li>

      <li>
        `Optional`options: Record\<string, string>

        Optional parameters.
      </li>

      <li>
        `Optional`callback: [GPUdbCallback](https://docs.kinetica.com/content/api/typescript/types/GPUdbCallback.md)

        Optional callback function
      </li>
    </ul>

    #### Returns Promise\<[CreateUserInternalResponse](https://docs.kinetica.com/content/api/typescript/interfaces/CreateUserInternalResponse.md)>

    Promise\<Types.CreateUserInternalResponse> - Promise resolving to the response

    <ul>
      <li>Defined in [src/GPUdb.ts:7584](https://github.com/kineticadb/kinetica-api-typescript/blob/master/src/GPUdb.ts#L7584)</li>
    </ul>
  </li>
</ul>

### create\_user\_internal\_request

<ul>
  <li>
    create\_user\_internal\_request(\
    &#x20;request: [CreateUserInternalRequest](https://docs.kinetica.com/content/api/typescript/interfaces/CreateUserInternalRequest.md),\
    &#x20;callback?: [GPUdbCallback](https://docs.kinetica.com/content/api/typescript/types/GPUdbCallback.md),\
    ): Promise\<[CreateUserInternalResponse](https://docs.kinetica.com/content/api/typescript/interfaces/CreateUserInternalResponse.md)>

    Creates a new internal user (a user whose credentials are managed by the database system).

    #### Parameters

    <ul>
      <li>
        request: [CreateUserInternalRequest](https://docs.kinetica.com/content/api/typescript/interfaces/CreateUserInternalRequest.md)

        Request object containing the parameters for the operation
      </li>

      <li>
        `Optional`callback: [GPUdbCallback](https://docs.kinetica.com/content/api/typescript/types/GPUdbCallback.md)

        Optional callback function
      </li>
    </ul>

    #### Returns Promise\<[CreateUserInternalResponse](https://docs.kinetica.com/content/api/typescript/interfaces/CreateUserInternalResponse.md)>

    Promise\<Types.CreateUserInternalResponse> - Promise resolving to the response

    <ul>
      <li>Defined in [src/GPUdb.ts:7558](https://github.com/kineticadb/kinetica-api-typescript/blob/master/src/GPUdb.ts#L7558)</li>
    </ul>
  </li>
</ul>


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.