Skip to main content
  • grantPermissionProc

    public GrantPermissionProcResponse grantPermissionProc(GrantPermissionProcRequest request) throws GPUdbException
    [DEPRECATED—please use grantPermission instead] Grants a proc-level permission to a user or role.
    Parameters:
    request - Request object containing the parameters for the operation.
    Returns:
    Response object containing the results of the operation.
    Throws:
    GPUdbException - if an error occurs during the operation.
  • grantPermissionProc

    public GrantPermissionProcResponse grantPermissionProc(String name, String permission, String procName, Map<String,String> options) throws GPUdbException
    [DEPRECATED—please use grantPermission instead] Grants a proc-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:
    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.
    options - Optional parameters. The default value is an empty Map.
    Returns:
    Response object containing the results of the operation.
    Throws:
    GPUdbException - if an error occurs during the operation.