When a user logs on to a portal we create a communication record.
Settings in web.config
<add key="comm_note_Logon" value="Portal logon"/> <add key="comm_note_Logoff" value="Portal logoff"/>