GPUdb C++ API  Version 6.2.0.3
gpudb::ShowSecurityRequest Struct Reference

A set of input parameters for showSecurity(const ShowSecurityRequest&) const. More...

#include <gpudb/protocol/show_security.h>

Public Member Functions

 ShowSecurityRequest ()
 Constructs a ShowSecurityRequest object with default parameter values. More...
 
 ShowSecurityRequest (const std::vector< std::string > &names_, const std::map< std::string, std::string > &options_)
 Constructs a ShowSecurityRequest object with the specified parameters. More...
 

Public Attributes

std::vector< std::string > names
 
std::map< std::string, std::string > options
 

Detailed Description

A set of input parameters for showSecurity(const ShowSecurityRequest&) const.

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]

gpudb::ShowSecurityRequest::ShowSecurityRequest ( )
inline

Constructs a ShowSecurityRequest object with default parameter values.

Definition at line 27 of file show_security.h.

◆ ShowSecurityRequest() [2/2]

gpudb::ShowSecurityRequest::ShowSecurityRequest ( const std::vector< std::string > &  names_,
const std::map< std::string, std::string > &  options_ 
)
inline

Constructs a ShowSecurityRequest object with the specified parameters.

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 44 of file show_security.h.

Member Data Documentation

◆ names

std::vector<std::string> gpudb::ShowSecurityRequest::names

Definition at line 50 of file show_security.h.

◆ options

std::map<std::string, std::string> gpudb::ShowSecurityRequest::options

Definition at line 51 of file show_security.h.


The documentation for this struct was generated from the following file: