GPUdb C++ API
Version 7.2.2.4
|
A set of parameters for GPUdb::grantPermissionSystem. More...
#include <gpudb/protocol/grant_permission_system.h>
Public Member Functions | |
GrantPermissionSystemRequest () | |
Constructs a GrantPermissionSystemRequest object with default parameters. More... | |
GrantPermissionSystemRequest (const std::string &name_, const std::string &permission_, const std::map< std::string, std::string > &options_) | |
Constructs a GrantPermissionSystemRequest object with the specified parameters. More... | |
Public Attributes | |
std::string | name |
Name of the user or role to which the permission will be granted. More... | |
std::string | permission |
Permission to grant to the user or role. More... | |
std::map< std::string, std::string > | options |
Optional parameters. More... | |
A set of parameters for GPUdb::grantPermissionSystem.
Grants a system-level permission to a user or role.
Definition at line 18 of file grant_permission_system.h.
|
inline |
Constructs a GrantPermissionSystemRequest object with default parameters.
Definition at line 24 of file grant_permission_system.h.
|
inline |
Constructs a GrantPermissionSystemRequest object with the specified parameters.
[in] | name_ | Name of the user or role to which the permission will be granted. Must be an existing user or role. |
[in] | permission_ | Permission to grant to the user or role. Supported values:
|
[in] | options_ | Optional parameters. The default value is an empty map. |
Definition at line 63 of file grant_permission_system.h.
std::string gpudb::GrantPermissionSystemRequest::name |
Name of the user or role to which the permission will be granted.
Must be an existing user or role.
Definition at line 74 of file grant_permission_system.h.
std::map<std::string, std::string> gpudb::GrantPermissionSystemRequest::options |
Optional parameters.
The default value is an empty map.
Definition at line 100 of file grant_permission_system.h.
std::string gpudb::GrantPermissionSystemRequest::permission |
Permission to grant to the user or role.
Supported values:
Definition at line 95 of file grant_permission_system.h.