Last Login details

Moderator: crythias

Post Reply
santoshreddy_spy
Znuny newbie
Posts: 33
Joined: 09 Nov 2011, 11:20
Znuny Version: 2.4.4

Last Login details

Post by santoshreddy_spy »

Hi everyone,
Is der any possible way to display the last login details (i.e date and time) in agent dashboard.
crythias
Moderator
Posts: 10169
Joined: 04 May 2010, 18:38
Znuny Version: 5.0.x
Location: SouthWest Florida, USA
Contact:

Re: Last Login details

Post by crythias »

As far as I can tell, no. You can see existing sessions, but once a session has expired, no.
OTRS 6.0.x (private/testing/public) on Linux with MySQL database.
Please edit your signature to include your OTRS version, Operating System, and database type.
Click Subscribe Topic below to get notifications. Consider amending your topic title to include [SOLVED] if it is so.
Need help? Before you ask
tnieman
Znuny advanced
Posts: 103
Joined: 14 Nov 2012, 21:59
Znuny Version: 3.1.6
Real Name: Tom Nieman
Company: WorkForce Software

Re: Last Login details

Post by tnieman »

There is a Last Login column on the AdminCustomerUser page. Where is that stored in the database? It's not in the Customer table.

Tom
reneeb
Znuny guru
Posts: 5018
Joined: 13 Mar 2011, 09:54
Znuny Version: 6.0.x
Real Name: Renée Bäcker
Company: Perl-Services.de
Contact:

Re: Last Login details

Post by reneeb »

You can find that info in the user preferences table. But you get this information when you get the user data (via UserDataGet()). The timestamp of the last login is stored in "UserLastLoginTimestamp"...
Perl / Znuny development: http://perl-services.de
Free Znuny add ons from the community: http://opar.perl-services.de
Commercial add ons: http://feature-addons.de
tnieman
Znuny advanced
Posts: 103
Joined: 14 Nov 2012, 21:59
Znuny Version: 3.1.6
Real Name: Tom Nieman
Company: WorkForce Software

Re: Last Login details

Post by tnieman »

Thanks
Post Reply