GPUdb C++ API  Version 5.2.0.0
gpudb::CreateUserInternalRequest Struct Reference

A set of input parameters for createUserInternal(const CreateUserInternalRequest&) const. More...

#include <gpudb/protocol/create_user_internal.h>

Public Member Functions

 CreateUserInternalRequest ()
 Constructs a CreateUserInternalRequest object with default parameter values. More...
 
 CreateUserInternalRequest (const std::string &name, const std::string &password, const std::map< std::string, std::string > &options)
 Constructs a CreateUserInternalRequest object with the specified parameters. More...
 

Public Attributes

std::string name
 
std::string password
 
std::map< std::string, std::string > options
 

Detailed Description

A set of input parameters for createUserInternal(const CreateUserInternalRequest&) const.

Creates a new internal user (a user whose credentials are managed by GPUdb).

Definition at line 19 of file create_user_internal.h.

Constructor & Destructor Documentation

gpudb::CreateUserInternalRequest::CreateUserInternalRequest ( )
inline

Constructs a CreateUserInternalRequest object with default parameter values.

Definition at line 26 of file create_user_internal.h.

gpudb::CreateUserInternalRequest::CreateUserInternalRequest ( const std::string &  name,
const std::string &  password,
const std::map< std::string, std::string > &  options 
)
inline

Constructs a CreateUserInternalRequest object with the specified parameters.

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 GPUdb.
[in]passwordInitial password of the user to be created. May be an empty string for no password.
[in]optionsOptional parameters.

Definition at line 46 of file create_user_internal.h.

Member Data Documentation

std::string gpudb::CreateUserInternalRequest::name

Definition at line 53 of file create_user_internal.h.

std::map<std::string, std::string> gpudb::CreateUserInternalRequest::options

Definition at line 55 of file create_user_internal.h.

std::string gpudb::CreateUserInternalRequest::password

Definition at line 54 of file create_user_internal.h.


The documentation for this struct was generated from the following file: