Skip to main content

◆ createUserInternal() [1/4]

CreateUserInternalResponse gpudb::GPUdb::createUserInternal (const CreateUserInternalRequest &request_) const

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

Parameters
[in]request_Request object containing the parameters for the operation.
Returns
Response object containing the result of the operation.

◆ createUserInternal() [2/4]

CreateUserInternalResponse & gpudb::GPUdb::createUserInternal (const CreateUserInternalRequest &request_,
CreateUserInternalResponse &response_ ) const

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

Parameters
[in]request_Request object containing the parameters for the operation.
[out]response_Response object containing the results of the operation.
Returns
Response object containing the result of the operation (initially passed in by reference).

◆ createUserInternal() [3/4]

CreateUserInternalResponse gpudb::GPUdb::createUserInternal (const std::string &name,
const std::string &password,
const std::map< std::string, std::string > &options ) const

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

Parameters
[in]nameName 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.
[in]passwordInitial password of the user to be created. May be an empty string for no password.
[in]optionsOptional parameters.The default value is an empty map.
Returns
Response object containing the result of the operation.

◆ createUserInternal() [4/4]

CreateUserInternalResponse & gpudb::GPUdb::createUserInternal (const std::string &name,
const std::string &password,
const std::map< std::string, std::string > &options,
CreateUserInternalResponse &response_ ) const

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

Parameters
[in]nameName 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.
[in]passwordInitial password of the user to be created. May be an empty string for no password.
[in]optionsOptional parameters.The default value is an empty map.
[out]response_Response object containing the results of the operation.
Returns
Response object containing the result of the operation (initially passed in by reference).