Skip to main content
  • [DEPRECATED—please use revoke_permission instead] Revokes a proc-level permission from a user or role.

    Parameters

    • name: string

      Name of the user or role from which the permission will be revoked. Must be an existing user or role.

    • permission: string

      Permission to revoke from the user or role.

    • proc_name: string

      Name of the proc to which the permission grants access. Must be an existing proc, or an empty string if the permission grants access to all procs.

    • Optionaloptions: Record<string, string>

      Optional parameters.

    • Optionalcallback: GPUdbCallback

      Optional callback function

    Returns Promise<RevokePermissionProcResponse>

    Promise<Types.RevokePermissionProcResponse> - Promise resolving to the response