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. | |
Public Attributes | |
| std::string | principal |
| Value of principal. | |
| std::string | role |
| role for which membership is being checked. | |
| bool | hasRole |
| Indicates whether the specified user has membership in the specified target role. | |
| std::map< std::string, std::string > | info |
| Additional information. | |
Detailed Description
A set of results returned by GPUdb::hasRole.
Definition at line 188 of file has_role.h.
Constructor & Destructor Documentation
◆ 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.
- has_role_direct: true when principal is directly a member of the role. Supported values:The default value is has_role_false.
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:
- gpudb/protocol/has_role.h