GPUdb C++ API  Version 7.1.10.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
gpudb::HasRoleRequest Struct Reference

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
 

Detailed Description

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.

Constructor & Destructor Documentation

gpudb::HasRoleRequest::HasRoleRequest ( )
inline

Constructs a HasRoleRequest object with default parameter values.

Definition at line 24 of file has_role.h.

gpudb::HasRoleRequest::HasRoleRequest ( const std::string &  principal_,
const std::string &  role_,
const std::map< std::string, std::string > &  options_ 
)
inline

Constructs a HasRoleRequest object with the specified parameters.

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.

Member Data Documentation

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.


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