grantPermissionCredential
public GrantPermissionCredentialResponse grantPermissionCredential(GrantPermissionCredentialRequest request) throws GPUdbException [DEPRECATED—please usegrantPermissioninstead] Grants a credential-level permission to a user or role.Parameters:request-Requestobject containing the parameters for the operation.Returns:Responseobject containing the results of the operation.Throws:GPUdbException- if an error occurs during the operation.grantPermissionCredential
public GrantPermissionCredentialResponse grantPermissionCredential(String name, String permission, String credentialName, Map<String, String> options) throws GPUdbException [DEPRECATED—please usegrantPermissioninstead] Grants a credential-level permission to a user or role.Parameters:name- Name of the user or role to which the permission will be granted. Must be an existing user or role.permission- Permission to grant to the user or role. Supported values:CREDENTIAL_ADMIN: Full read/write and administrative access on the credential.CREDENTIAL_READ: Ability to read and use the credential.
credentialName- Name of the credential on which the permission will be granted. Must be an existing credential, or an empty string to grant access on all credentials.options- Optional parameters. The default value is an emptyMap.Returns:Responseobject containing the results of the operation.Throws:GPUdbException- if an error occurs during the operation.