ADMINEDITABLE_Search_UserCanDelete

Show allHide all

Deprecated. Don't use for new development and try to migrate existing uses.

Type: Scalar function

From version 5.4.019 this editable function will not be called automatically. Instead of using it, you write your own function and put the name of the function in the application variable "SavedSearchCanUserDeleteFunction".

Determines if a user is allowed to delete a saved search.

By default a user is allowed to delete any search he can edit, but you can customize by editing this function.

Parameters

@SearchID mandatory int
@UserID mandatory int