GPUdb C++ API
Version 6.2.0.3
|
A set of input parameters for grantRole(const GrantRoleRequest&) const. More...
#include <gpudb/protocol/grant_role.h>
Public Member Functions | |
GrantRoleRequest () | |
Constructs a GrantRoleRequest object with default parameter values. 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 |
std::string | member |
std::map< std::string, std::string > | options |
A set of input parameters for grantRole(const GrantRoleRequest&) const.
Grants membership in a role to a user or role.
Definition at line 18 of file grant_role.h.
|
inline |
Constructs a GrantRoleRequest object with default parameter values.
Definition at line 24 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. |
Definition at line 42 of file grant_role.h.
std::string gpudb::GrantRoleRequest::member |
Definition at line 50 of file grant_role.h.
std::map<std::string, std::string> gpudb::GrantRoleRequest::options |
Definition at line 51 of file grant_role.h.
std::string gpudb::GrantRoleRequest::role |
Definition at line 49 of file grant_role.h.