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

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

#include <gpudb/protocol/has_role.h>

Public Member Functions

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

Public Attributes

std::string principal
 Value of principal. More...
 
std::string role
 role for which membership is being checked More...
 
bool hasRole
 Indicates whether the specified user has membership in the specified target role. More...
 
std::map< std::string, std::string > info
 Additional information. More...
 

Detailed Description

A set of results returned by GPUdb::hasRole.

Definition at line 188 of file has_role.h.

Constructor & Destructor Documentation

◆ HasRoleResponse()

gpudb::HasRoleResponse::HasRoleResponse ( )
inline

Constructs a HasRoleResponse object with default parameters.

Definition at line 193 of file has_role.h.

Member Data Documentation

◆ hasRole

bool gpudb::HasRoleResponse::hasRole

Indicates whether the specified user has membership in the specified target role.

Supported values:

  • true: User has membership in the role
  • false: User does not have membership in the role

Definition at line 221 of file has_role.h.

◆ info

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

Additional information.

The default value is an empty map.

Definition at line 239 of file has_role.h.

◆ principal

std::string gpudb::HasRoleResponse::principal

Value of principal.

Definition at line 204 of file has_role.h.

◆ role

std::string gpudb::HasRoleResponse::role

role for which membership is being checked

Definition at line 210 of file has_role.h.


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