Skip to main content

◆ showSecurity() [1/4]

ShowSecurityResponse gpudb::GPUdb::showSecurity (const ShowSecurityRequest &request_) 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.

Parameters
[in]request_Request object containing the parameters for the operation.
Returns
Response object containing the result of the operation.

◆ showSecurity() [2/4]

ShowSecurityResponse & gpudb::GPUdb::showSecurity (const ShowSecurityRequest &request_,
ShowSecurityResponse &response_ ) 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.

Parameters
[in]request_Request object containing the parameters for the operation.
[out]response_Response object containing the results of the operation.
Returns
Response object containing the result of the operation (initially passed in by reference).

◆ showSecurity() [3/4]

ShowSecurityResponse gpudb::GPUdb::showSecurity (const std::vector< std::string > &names,
const std::map< std::string, std::string > &options ) 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.

Parameters
[in]namesA 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]optionsOptional parameters.The default value is an empty map.
Returns
Response object containing the result of the operation.

◆ showSecurity() [4/4]

ShowSecurityResponse & gpudb::GPUdb::showSecurity (const std::vector< std::string > &names,
const std::map< std::string, std::string > &options,
ShowSecurityResponse &response_ ) 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.

Parameters
[in]namesA 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]optionsOptional parameters.The default value is an empty map.
[out]response_Response object containing the results of the operation.
Returns
Response object containing the result of the operation (initially passed in by reference).