GPUdb C++ API
Version 7.1.10.0
|
A set of input parameters for const. More...
#include <gpudb/protocol/has_permission.h>
Public Member Functions | |
HasPermissionRequest () | |
Constructs a HasPermissionRequest object with default parameter values. More... | |
HasPermissionRequest (const std::string &principal_, const std::string &object_, const std::string &objectType_, const std::string &permission_, const std::map< std::string, std::string > &options_) | |
Constructs a HasPermissionRequest object with the specified parameters. More... | |
Public Attributes | |
std::string | principal |
std::string | object |
std::string | objectType |
std::string | permission |
std::map< std::string, std::string > | options |
A set of input parameters for const.
Checks if the specified user has the specified permission on the specified object.
Definition at line 19 of file has_permission.h.
|
inline |
Constructs a HasPermissionRequest object with default parameter values.
Definition at line 26 of file has_permission.h.
|
inline |
Constructs a HasPermissionRequest object with the specified parameters.
[in] | principal_ | Name of the user for which the permission is being checked. Must be an existing user. If blank, will use the current user. |
[in] | object_ | Name of object to check for the requested permission. It is recommended to use a fully-qualified name when possible. |
[in] | objectType_ | The type of object being checked
|
[in] | permission_ | Permission to check for.
|
[in] | options_ | Optional parameters.
|
Definition at line 117 of file has_permission.h.
std::string gpudb::HasPermissionRequest::object |
Definition at line 127 of file has_permission.h.
std::string gpudb::HasPermissionRequest::objectType |
Definition at line 128 of file has_permission.h.
std::map<std::string, std::string> gpudb::HasPermissionRequest::options |
Definition at line 130 of file has_permission.h.
std::string gpudb::HasPermissionRequest::permission |
Definition at line 129 of file has_permission.h.
std::string gpudb::HasPermissionRequest::principal |
Definition at line 126 of file has_permission.h.