Article - CS288073

How to display login or logout history in ThingWorx Platform

Modified: 25-Jun-2025   


Applies To

  • ThingWorx Platform 6.5 to 9.4

Description

  • How to display ThingWorx login/logout history
  • Is it possible to get User's login information via the below code
Logs["SecurityLog"].GetLogEntries(); 
  • How to display ThingWorx login history including both successful and failed logins
  • How to determine each users' last login time
  • How to gather all users with their latest login timestamp
  • How to display ThingWorx login history by Group or by Organization or by Organization Unit
  • AuthLog.log  shows AUTH Request  with SUCCESS but the logged user is showing question marks "???", what does that mean ?
  • When using, the log content contains question mark [U: ???] for users like below, how to handle it:
[L: ERROR] [O: S.c.t.s.a.AuthenticationFilter] [I: ] [U: ???] [S: ] [P: ####] [T: http-nio-9208-exec-16] Authentication failed: Please make sure the credentials are correct.
  • How to get the login history of all the users logged into ThingWorx environment in the last 3 months
This is a printer-friendly version of Article 288073 and may be out of date. For the latest version click CS288073