Logged in User in BC NAV

List how many users are logged into BC NAV

Open powershell as administrator

paste the code in the powershell terminal

Get-NAVServerSession -ServerInstance BC220 | Select-Object UserId, SessionId, ClientType, LoginDateTime | ForEach-Object {
“$($_.UserId) | $($_.SessionId) | $($_.ClientType) | $($_.LoginDateTime)”
} | Out-File -FilePath “LoggedInUsers.txt”

The above code will create a text file “loggedinusers.txt” and will output user list

Leave a Comment