Hi Masoud,
There should not be a compile error. There must be something with your implementation.
Have a look at the Example project, speficially the "Utilities" page, it has a button which has Idle logout button "off" with the code behind the button for you to take a closer look.
You could also add the code LogoutIdle(-1) to the "Entry Command" for a certain User Role (in the Security config of Citect Studio).
Hi Masoud,
There should not be a compile error. There must be something with your implementation.
Have a look at the Example project, speficially the "Utilities" page, it has a button which has Idle logout button "off" with the code behind the button for you to take a closer look.
You could also add the code LogoutIdle(-1) to the "Entry Command" for a certain User Role (in the Security config of Citect Studio).