Community FAQ
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
LithiumKid1976
Champion Sweeper
hi
Is it possible to get a report of logons with in the last 24 hours?

i would like to see the user that logged on, the PC they logged on to, and the time.

is that possible?
1 ACCEPTED SOLUTION
MikeMc
Champion Sweeper II
This report should get you started.
Select Top 1000000 tblAssets.AssetID,
tblAssets.AssetName,
tblCPlogoninfo.Ipaddress,
tblCPlogoninfo.Domain As Userdomain,
tblCPlogoninfo.Username,
tblCPlogoninfo.logontime
From tblCPlogoninfo
Inner Join tblAssets On tblAssets.AssetID = tblCPlogoninfo.AssetID
Where tblCPlogoninfo.logontime >= DateAdd(hh, -24, GetDate())
Order By tblCPlogoninfo.logontime

View solution in original post

1 REPLY 1
MikeMc
Champion Sweeper II
This report should get you started.
Select Top 1000000 tblAssets.AssetID,
tblAssets.AssetName,
tblCPlogoninfo.Ipaddress,
tblCPlogoninfo.Domain As Userdomain,
tblCPlogoninfo.Username,
tblCPlogoninfo.logontime
From tblCPlogoninfo
Inner Join tblAssets On tblAssets.AssetID = tblCPlogoninfo.AssetID
Where tblCPlogoninfo.logontime >= DateAdd(hh, -24, GetDate())
Order By tblCPlogoninfo.logontime

Reports & Analytics

Ask about reports you're interested in and share reports you've created. Subscribe to receive daily updates of reports shared in the Community.

New to Lansweeper?

Try Lansweeper For Free

Experience Lansweeper with your own data.
Sign up now for a 14-day free trial.

Try Now