A set of results returned by GPUdb::showSecurity. More…
#include <gpudb/protocol/show_security.h>
Public Member Functions | |
| ShowSecurityResponse () | |
| Constructs a ShowSecurityResponse object with default parameters. | |
Public Attributes | |
| std::map< std::string, std::string > | types |
| Map of user/role name to the type of that user/role. | |
| std::map< std::string, std::vector< std::string > > | roles |
| Map of user/role name to a list of names of roles of which that user/role is a member. | |
| std::map< std::string, std::vector< std::map< std::string, std::string > > > | permissions |
| Map of user/role name to a list of permissions directly granted to that user/role. | |
| std::map< std::string, std::string > | resourceGroups |
| Map of user name to resource group name. | |
| std::map< std::string, std::string > | info |
| Additional information. | |
Detailed Description
A set of results returned by GPUdb::showSecurity.
Definition at line 144 of file show_security.h.
Constructor & Destructor Documentation
◆ ShowSecurityResponse()
| inline |
Constructs a ShowSecurityResponse object with default parameters.
Definition at line 149 of file show_security.h.
Member Data Documentation
◆ info
| std::map<std::string, std::string> gpudb::ShowSecurityResponse::info |
Additional information.
Definition at line 193 of file show_security.h.
◆ permissions
| std::map<std::string, std::vector<std::map<std::string, std::string> > > gpudb::ShowSecurityResponse::permissions |
Map of user/role name to a list of permissions directly granted to that user/role.
Definition at line 183 of file show_security.h.
◆ resourceGroups
| std::map<std::string, std::string> gpudb::ShowSecurityResponse::resourceGroups |
Map of user name to resource group name.
Definition at line 188 of file show_security.h.
◆ roles
| std::map<std::string, std::vector<std::string> > gpudb::ShowSecurityResponse::roles |
Map of user/role name to a list of names of roles of which that user/role is a member.
Definition at line 177 of file show_security.h.
◆ types
| std::map<std::string, std::string> gpudb::ShowSecurityResponse::types |
Map of user/role name to the type of that user/role.
Valid values are:
- show_security_internal_user: A user whose credentials are managed by the database system.
- show_security_external_user: A user whose credentials are managed by an external LDAP.
- show_security_role: A role.
Definition at line 171 of file show_security.h.
The documentation for this struct was generated from the following file:
- gpudb/protocol/show_security.h