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