GPUdb C++ API
Version 7.2.2.4
|
A set of parameters for GPUdb::grantRole. More...
#include <gpudb/protocol/grant_role.h>
Public Member Functions | |
GrantRoleRequest () | |
Constructs a GrantRoleRequest object with default parameters. More... | |
GrantRoleRequest (const std::string &role_, const std::string &member_, const std::map< std::string, std::string > &options_) | |
Constructs a GrantRoleRequest object with the specified parameters. More... | |
Public Attributes | |
std::string | role |
Name of the role in which membership will be granted. More... | |
std::string | member |
Name of the user or role that will be granted membership in role. More... | |
std::map< std::string, std::string > | options |
Optional parameters. More... | |
A set of parameters for GPUdb::grantRole.
Grants membership in a role to a user or role.
Definition at line 17 of file grant_role.h.
|
inline |
Constructs a GrantRoleRequest object with default parameters.
Definition at line 22 of file grant_role.h.
|
inline |
Constructs a GrantRoleRequest object with the specified parameters.
[in] | role_ | Name of the role in which membership will be granted. Must be an existing role. |
[in] | member_ | Name of the user or role that will be granted membership in role_. Must be an existing user or role. |
[in] | options_ | Optional parameters. The default value is an empty map. |
Definition at line 40 of file grant_role.h.
std::string gpudb::GrantRoleRequest::member |
Name of the user or role that will be granted membership in role.
Must be an existing user or role.
Definition at line 57 of file grant_role.h.
std::map<std::string, std::string> gpudb::GrantRoleRequest::options |
std::string gpudb::GrantRoleRequest::role |
Name of the role in which membership will be granted.
Must be an existing role.
Definition at line 51 of file grant_role.h.