How can we help you today?

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

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

sql screenshot

5. Refer to entries that start with "Web access granted" under the Message column, which indicates 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)

*Note: This script will only work with PME 9.0. In subsequent versions of PME, a similar record of access can be found if the line WHERE Location like 'SystemDataService' is changed to WHERE Location like 'Security Controller'

Schneider Electric UK

Attachment(s)

Explore more

Discuss this topic with experts

Visit our community and get advice from experts and peers on this topic and more

Explore more

Need help?

Product Selector

Quickly and easily find the right products and accessories for your applications.

Get a Quote

Start your sales inquiry online and an expert will connect with you.

Where to buy?

Easily find the nearest Schneider Electric distributor in your location.

Help Centre

Find support resources for all your needs, in one place.