![]() ![]() |
LoriotPro
scripting documentation |
![]() ![]() ![]() |
![]() |
LoriotPro has extended the LUA sripting language by providing its own LUA libraries. The new functions provided are dedicated to the creation of monitoring and SNMP automation application.
Syntax
value = lp.EnableDirectoryObject('uid');
Description
Perform a refresh of the directory and select the object that become the current default object.
Parameters
‘uid’ A unique identifier (unsigned 64bits) within a character string identifying the object in the Directory.
Return Values
value : value 1 if no error
Return nil if an error occurs
Example
In the following example the Wizard is first use to get the UID of the object.
Example of code
value =
lp.EnableDirectoryObject('5114491169685897241');
lp.Print(value , " Result\n");
![]() |
|