Browse FAQs

How to see when users have logged into the Web Applications in PME 9.0

Published date: 12 September 2019

Issue
The administrator of the Power Monitoring Expert (PME) server would like to know when users are accessing the Web Applications.

Product Line
PME 9.0

Environment
ApplicationModules database
Web Applications

Resolution
*Warning: Irreparable database damage can occur. This procedure should only be performed by users familiar with SQL Server Management Studio. Databases should be backed up prior to performing this procedure.*

1. Open SQL Server Management Studio (SSMS), then connect to the PME database instance (default is ION)
2. Click New Query
3. Copy and paste in the following script:
 
USE ApplicationModules
SELECT * FROM Diagnostics.LogEventView
WHERE Location like 'SystemDataService'
ORDER BY LogEventID DESC

4. Click Execute to run the script



5. Refer to entries that start with "Web access granted" under the Message column, which indicate when a user has logged in, and see the corresponding timestamp in UTC under the Timestamp column
6. Note the username shown at the end of the string under the Message column (e.g. "user1" in the above screenshot)

Was this helpful?

What can we do to improve the information ?

Can't find what you are looking for?

Reach out to our customer care team to receive information on technical support, assistance for complaints and more.