<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent posts to Add Event Handler -&gt; Login/Logout Event Handlers</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/b58ef29086/" rel="alternate"/><link href="https://forge.codesys.com/forge/talk/Engineering/thread/b58ef29086/feed.atom" rel="self"/><id>https://forge.codesys.com/forge/talk/Engineering/thread/b58ef29086/</id><updated>2024-08-12T23:32:23.252000Z</updated><subtitle>Recent posts to Add Event Handler -&gt; Login/Logout Event Handlers</subtitle><entry><title>Add Event Handler -&gt; Login/Logout Event Handlers</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/b58ef29086/?limit=25#b640" rel="alternate"/><published>2024-08-12T23:32:23.252000Z</published><updated>2024-08-12T23:32:23.252000Z</updated><author><name>installwhat</name><uri>https://forge.codesys.com/u/installwhat/</uri></author><id>https://forge.codesys.com2967a116c90c18bfe9e9677b91eea3b51fedeb77</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Old question but since I stumbled on it others might.&lt;/p&gt;
&lt;p&gt;He probably added the function he wants to be called before using the "add event handler". If you don't add it first they will be created with the correct params.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Add Event Handler -&gt; Login/Logout Event Handlers</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/b58ef29086/?limit=25#d51d" rel="alternate"/><published>2020-02-27T13:51:50.614000Z</published><updated>2020-02-27T13:51:50.614000Z</updated><author><name>ert</name><uri>https://forge.codesys.com/u/ert/</uri></author><id>https://forge.codesys.comd0c12f940ce983a0a5ffc1e74d4f324fc17f0428</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;I would like to execute certain functions upon any user login/logout.&lt;/p&gt;
&lt;p&gt;In Task Configuration there seem to be some useful Event Handlers: System Events -&amp;gt; Add Event Handler.&lt;br/&gt;
I added:&lt;br/&gt;
- event Login, function to call TestLogin&lt;br/&gt;
- event Logout, function to call TestLogout&lt;/p&gt;
&lt;p&gt;Afterwards I get compile errors "Function TestLogin/TestLogout requires exactly '0' inputs".&lt;/p&gt;
&lt;p&gt;How to use the Login/Logout events then?&lt;br/&gt;
Are the System Event Handlers and their usage documented anywhere?&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>