Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

SOLVED

In ACC V6 or V7, How to see the last session for a user?

Avatar

Level 2

Dear Team, 

We need to know if someone was connected to the system in ACC V6, and to get the time of their last connection.

Is there any way to do that?

 

Kind regards,

 

 

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

Hi @sguerra,

  1. Last access date reside in logins.log file.
  2. Below script 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(arri);
    f.close()​

However, I would urge you to post your question here Adobe Campaign Classic v7 & Campaign v8 [0] to get better response.

[0]: https://experienceleaguecommunities.adobe.com/t5/adobe-campaign/ct-p/adobe-campaign-classic-communit...

Regards,

Santosh

View solution in original post

1 Reply

Avatar

Correct answer by
Community Advisor

Hi @sguerra,

  1. Last access date reside in logins.log file.
  2. Below script 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(arri);
    f.close()​

However, I would urge you to post your question here Adobe Campaign Classic v7 & Campaign v8 [0] to get better response.

[0]: https://experienceleaguecommunities.adobe.com/t5/adobe-campaign/ct-p/adobe-campaign-classic-communit...

Regards,

Santosh