Campaign Classic v7: Last access date for Adobe Campaign
Last update: June 19, 2024
Learn how to find the last access date for Adobe Campaign Classic.
Description
Environment
- Adobe Campaign
- Adobe Campaign Classic v7
Issue/Symptoms
You want to find the last access date for all the operators of Adobe Campaign Classic.
Resolution
- The last access date resides in
logins.log
file. - The script below can be used in Java script activity in the workflow to be able to pull the logs from this file directly in the Audit logs:
var f = new File( "/usr/local/neolane/nl6/var/"+ Application.instanceName +"/logins.log" );
var arr = [ ] ;
f.open()
for each(var line in f)
{
arr.push( line )
}
for ( var i = arr.length - 1; i >= 0; i-- )
logInfo(arr[ i] );
f.close()
recommendation-more-help
3d58f420-19b5-47a0-a122-5c9dab55ec7f