GPUdb C++ API  Version 7.2.2.4
gpudb::HasPermissionResponse Struct Reference

A set of results returned by GPUdb::hasPermission. More...

#include <gpudb/protocol/has_permission.h>

Public Member Functions

 HasPermissionResponse ()
 Constructs a HasPermissionResponse object with default parameters. More...
 

Public Attributes

std::string principal
 Value of principal. More...
 
std::string object
 Fully-qualified value of object. More...
 
std::string objectType
 Value of objectType. More...
 
std::string permission
 Value of permission. More...
 
bool hasPermission
 Indicates whether the specified user has the specified permission on the specified target. More...
 
std::map< std::string, std::string > filters
 Map of column/filters that have been granted. More...
 
std::map< std::string, std::string > info
 Additional information. More...
 

Detailed Description

A set of results returned by GPUdb::hasPermission.

Definition at line 326 of file has_permission.h.

Constructor & Destructor Documentation

◆ HasPermissionResponse()

gpudb::HasPermissionResponse::HasPermissionResponse ( )
inline

Constructs a HasPermissionResponse object with default parameters.

Definition at line 331 of file has_permission.h.

Member Data Documentation

◆ filters

std::map<std::string, std::string> gpudb::HasPermissionResponse::filters

Map of column/filters that have been granted.

Definition at line 377 of file has_permission.h.

◆ hasPermission

bool gpudb::HasPermissionResponse::hasPermission

Indicates whether the specified user has the specified permission on the specified target.

Supported values:

  • true: User has the effective queried permission
  • false: User does not have the queried permission

Definition at line 372 of file has_permission.h.

◆ info

std::map<std::string, std::string> gpudb::HasPermissionResponse::info

Additional information.

Definition at line 382 of file has_permission.h.

◆ object

std::string gpudb::HasPermissionResponse::object

Fully-qualified value of object.

Definition at line 351 of file has_permission.h.

◆ objectType

std::string gpudb::HasPermissionResponse::objectType

Value of objectType.

Definition at line 356 of file has_permission.h.

◆ permission

std::string gpudb::HasPermissionResponse::permission

Value of permission.

Definition at line 361 of file has_permission.h.

◆ principal

std::string gpudb::HasPermissionResponse::principal

Value of principal.

Definition at line 345 of file has_permission.h.


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