Skip to main content

◆ revokePermissionCredential() [1/4]

RevokePermissionCredentialResponse gpudb::GPUdb::revokePermissionCredential (const RevokePermissionCredentialRequest &request_) const

[DEPRECATED–please use revokePermission instead] Revokes a credential-level permission from a user or role.

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

◆ revokePermissionCredential() [2/4]

RevokePermissionCredentialResponse & gpudb::GPUdb::revokePermissionCredential (const RevokePermissionCredentialRequest &request_,
RevokePermissionCredentialResponse &response_ ) const

[DEPRECATED–please use revokePermission instead] Revokes a credential-level permission from a user or role.

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).

◆ revokePermissionCredential() [3/4]

RevokePermissionCredentialResponse gpudb::GPUdb::revokePermissionCredential (const std::string &name,
const std::string &permission,
const std::string &credentialName,
const std::map< std::string, std::string > &options ) const

[DEPRECATED–please use revokePermission instead] Revokes a credential-level permission from a user or role.

Parameters
[in]nameName of the user or role from which the permission will be revoked. Must be an existing user or role.
[in]permissionPermission to revoke from the user or role. Supported values:
[in]credentialNameName of the credential on which the permission will be revoked. Must be an existing credential, or an empty string to revoke access on all credentials.
[in]optionsOptional parameters. The default value is an empty map.
Returns
Response object containing the result of the operation.

◆ revokePermissionCredential() [4/4]

RevokePermissionCredentialResponse & gpudb::GPUdb::revokePermissionCredential (const std::string &name,
const std::string &permission,
const std::string &credentialName,
const std::map< std::string, std::string > &options,
RevokePermissionCredentialResponse &response_ ) const

[DEPRECATED–please use revokePermission instead] Revokes a credential-level permission from a user or role.

Parameters
[in]nameName of the user or role from which the permission will be revoked. Must be an existing user or role.
[in]permissionPermission to revoke from the user or role. Supported values:
[in]credentialNameName of the credential on which the permission will be revoked. Must be an existing credential, or an empty string to revoke access on all credentials.
[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).