LUALoriotPro WEB site

LoriotPro scripting documentation
Extensions for LUA language

Table of contents Search function

Print the current page Mail this  link UTUBE Channel version française

lp.SetTrapFilterDisable- - Enable/disable all the actions of a TRAP filter

value = lp.SetTrapFilterDisable('uid',flag);


The lp.SetTrapFilterDisable LUA function enable or disable all the actions of a TRAP filter.


‘uid’           The UID of the Directory object

flag             A boolean value (0 enable, 1 disable )

Return Values

value : value 1 if the filter is modified

Return nil if an error occurs.

Warning : The check box of the filter windows is not autoamtically refreshed after this change.