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.SetTrapFilterGlobalStatus - Enable or disable all the TRAP filters

value = lp.SetTrapFilterGlobalStatus( flag);


The lp.SetTrapFilterGlobalStatus LUA function enable or disable all the TRAP filters.


‘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.