This simple JavaScript file enables you to capture the PWA users last logon time from the Project Web App homepage. It is simple to deploy and use - you just need to set up the list first. The link to the blog post below details the steps required.

 A code snippet can be seen below:


<script type="text/javascript"> 
 ExecuteOrDelayUntilScriptLoaded(getUser, "sp.js");  
var PWAUsageListName = 'PWAUsageList' //update for correct list name 
var browser 
var userId 
var userName 
var currentUser 
//get the current user 
function getUser(){
 Here is a link to the supporting blog post that details the requirements to use this script: