◆ createRole() [1/4]
| CreateRoleResponse gpudb::GPUdb::createRole | ( | const CreateRoleRequest & | request_ | ) | const |
◆ createRole() [2/4]
| CreateRoleResponse & gpudb::GPUdb::createRole | ( | const CreateRoleRequest & | request_, |
| CreateRoleResponse & | response_ ) const |
Creates a new role.
Attention
This method should be used for on-premise deployments only.
Parameters
Returns
Response object containing the result of the operation (initially passed in by reference).
◆ createRole() [3/4]
| CreateRoleResponse gpudb::GPUdb::createRole | ( | const std::string & | name, |
| const std::map< std::string, std::string > & | options ) const |
Creates a new role.
Attention
This method should be used for on-premise deployments only.
Parameters
| [in] | name | Name of the role 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] | options | Optional parameters.
|
Returns
Response object containing the result of the operation.
◆ createRole() [4/4]
| CreateRoleResponse & gpudb::GPUdb::createRole | ( | const std::string & | name, |
| const std::map< std::string, std::string > & | options, | ||
| CreateRoleResponse & | response_ ) const |
Creates a new role.
Attention
This method should be used for on-premise deployments only.
Parameters
| [in] | name | Name of the role 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] | options | Optional parameters.
|
| [out] | response_ | Response object containing the results of the operation. |
Returns
Response object containing the result of the operation (initially passed in by reference).