◆ grantPermissionProc() [1/4]
| GrantPermissionProcResponse gpudb::GPUdb::grantPermissionProc | ( | const GrantPermissionProcRequest & | request_ | ) | const |
[DEPRECATED–please use grantPermission instead] Grants a proc-level permission to a user or role.
Parameters
| [in] | request_ | Request object containing the parameters for the operation. |
Returns
Response object containing the result of the operation.
◆ grantPermissionProc() [2/4]
| GrantPermissionProcResponse & gpudb::GPUdb::grantPermissionProc | ( | const GrantPermissionProcRequest & | request_, |
| GrantPermissionProcResponse & | response_ ) const |
[DEPRECATED–please use grantPermission instead] Grants a proc-level permission to a user or role.
Parameters
Returns
Response object containing the result of the operation (initially passed in by reference).
◆ grantPermissionProc() [3/4]
| GrantPermissionProcResponse gpudb::GPUdb::grantPermissionProc | ( | const std::string & | name, |
| const std::string & | permission, | ||
| const std::string & | procName, | ||
| const std::map< std::string, std::string > & | options ) const |
[DEPRECATED–please use grantPermission instead] Grants a proc-level permission to a user or role.
Parameters
| [in] | name | Name of the user or role to which the permission will be granted. Must be an existing user or role. |
| [in] | permission | Permission to grant to the user or role. Supported values:
|
| [in] | procName | Name of the proc to which the permission grants access. Must be an existing proc, or an empty string to grant access to all procs. |
| [in] | options | Optional parameters. The default value is an empty map. |
Returns
Response object containing the result of the operation.
◆ grantPermissionProc() [4/4]
| GrantPermissionProcResponse & gpudb::GPUdb::grantPermissionProc | ( | const std::string & | name, |
| const std::string & | permission, | ||
| const std::string & | procName, | ||
| const std::map< std::string, std::string > & | options, | ||
| GrantPermissionProcResponse & | response_ ) const |
[DEPRECATED–please use grantPermission instead] Grants a proc-level permission to a user or role.
Parameters
| [in] | name | Name of the user or role to which the permission will be granted. Must be an existing user or role. |
| [in] | permission | Permission to grant to the user or role. Supported values:
|
| [in] | procName | Name of the proc to which the permission grants access. Must be an existing proc, or an empty string to grant access to all procs. |
| [in] | options | Optional 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).