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. | |
| 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. | |
Public Attributes | |
| std::string | role |
| Name of the role in which membership will be granted. | |
| std::string | member |
| Name of the user or role that will be granted membership in role. | |
| std::map< std::string, std::string > | options |
| Optional parameters. | |
Detailed Description
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.
Constructor & Destructor Documentation
◆ GrantRoleRequest() [1/2]
| inline |
Constructs a GrantRoleRequest object with default parameters.
Definition at line 22 of file grant_role.h.
◆ GrantRoleRequest() [2/2]
| 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.
Member Data Documentation
◆ member
| 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.
◆ options
| std::map<std::string, std::string> gpudb::GrantRoleRequest::options |
◆ role
| 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.
The documentation for this struct was generated from the following file:
- gpudb/protocol/grant_role.h