GPUdb C++ API
Version 7.1.10.0
|
A set of input parameters for const. More...
#include <gpudb/protocol/has_role.h>
Public Member Functions | |
HasRoleRequest () | |
Constructs a HasRoleRequest object with default parameter values. More... | |
HasRoleRequest (const std::string &principal_, const std::string &role_, const std::map< std::string, std::string > &options_) | |
Constructs a HasRoleRequest object with the specified parameters. More... | |
Public Attributes | |
std::string | principal |
std::string | role |
std::map< std::string, std::string > | options |
A set of input parameters for const.
Checks if the specified user has the specified role.
Definition at line 18 of file has_role.h.
|
inline |
Constructs a HasRoleRequest object with default parameter values.
Definition at line 24 of file has_role.h.
|
inline |
Constructs a HasRoleRequest object with the specified parameters.
[in] | principal_ | Name of the user for which role membersih is being checked. Must be an existing user. If blank, will use the current user. |
[in] | role_ | Name of role to check for membership. |
[in] | options_ | Optional parameters.
|
Definition at line 63 of file has_role.h.
std::map<std::string, std::string> gpudb::HasRoleRequest::options |
Definition at line 72 of file has_role.h.
std::string gpudb::HasRoleRequest::principal |
Definition at line 70 of file has_role.h.
std::string gpudb::HasRoleRequest::role |
Definition at line 71 of file has_role.h.