GPUdb C++ API
Version 7.2.2.4
|
A set of parameters for GPUdb::grantPermissionProc. More...
#include <gpudb/protocol/grant_permission_proc.h>
Public Member Functions | |
GrantPermissionProcRequest () | |
Constructs a GrantPermissionProcRequest object with default parameters. More... | |
GrantPermissionProcRequest (const std::string &name_, const std::string &permission_, const std::string &procName_, const std::map< std::string, std::string > &options_) | |
Constructs a GrantPermissionProcRequest 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::string | procName |
Name of the proc to which the permission grants access. More... | |
std::map< std::string, std::string > | options |
Optional parameters. More... | |
A set of parameters for GPUdb::grantPermissionProc.
Grants a proc-level permission to a user or role.
Definition at line 18 of file grant_permission_proc.h.
|
inline |
Constructs a GrantPermissionProcRequest object with default parameters.
Definition at line 24 of file grant_permission_proc.h.
|
inline |
Constructs a GrantPermissionProcRequest 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] | procName_ | Name of the proc to which the permission grants access. Must be an existing proc, or an empty string to grant access to all procs. |
[in] | options_ | Optional parameters. The default value is an empty map. |
Definition at line 56 of file grant_permission_proc.h.
std::string gpudb::GrantPermissionProcRequest::name |
Name of the user or role to which the permission will be granted.
Must be an existing user or role.
Definition at line 68 of file grant_permission_proc.h.
std::map<std::string, std::string> gpudb::GrantPermissionProcRequest::options |
Optional parameters.
The default value is an empty map.
Definition at line 93 of file grant_permission_proc.h.
std::string gpudb::GrantPermissionProcRequest::permission |
Permission to grant to the user or role.
Supported values:
Definition at line 82 of file grant_permission_proc.h.
std::string gpudb::GrantPermissionProcRequest::procName |
Name of the proc to which the permission grants access.
Must be an existing proc, or an empty string to grant access to all procs.
Definition at line 88 of file grant_permission_proc.h.