A set of parameters for GPUdb::showSecurity. More…
#include <gpudb/protocol/show_security.h>
Public Member Functions | |
| ShowSecurityRequest () | |
| Constructs a ShowSecurityRequest object with default parameters. | |
| ShowSecurityRequest (const std::vector< std::string > &names_, const std::map< std::string, std::string > &options_) | |
| Constructs a ShowSecurityRequest object with the specified parameters. | |
Public Attributes | |
| std::vector< std::string > | names |
| A list of names of users and/or roles about which security information is requested. | |
| std::map< std::string, std::string > | options |
| Optional parameters. | |
Detailed Description
A set of parameters for GPUdb::showSecurity.
Shows security information relating to users and/or roles. If the caller is not a system administrator, only information relating to the caller and their roles is returned.
Definition at line 20 of file show_security.h.
Constructor & Destructor Documentation
◆ ShowSecurityRequest() [1/2]
| inline |
Constructs a ShowSecurityRequest object with default parameters.
Definition at line 25 of file show_security.h.
◆ ShowSecurityRequest() [2/2]
| inline |
Constructs a ShowSecurityRequest object with the specified parameters.
| [in] | names_ | A list of names of users and/or roles about which security information is requested. If none are provided, information about all users and roles will be returned. |
| [in] | options_ | Optional parameters.
|
Definition at line 60 of file show_security.h.
Member Data Documentation
◆ names
| std::vector<std::string> gpudb::ShowSecurityRequest::names |
A list of names of users and/or roles about which security information is requested.
If none are provided, information about all users and roles will be returned.
Definition at line 71 of file show_security.h.
◆ options
| std::map<std::string, std::string> gpudb::ShowSecurityRequest::options |
Optional parameters.
- show_security_show_current_user: If true, returns only security information for the current user. Supported values:The default value is show_security_false.
The default value is an empty map.
Definition at line 91 of file show_security.h.
The documentation for this struct was generated from the following file:
- gpudb/protocol/show_security.h