‎10-09-2015 05:11 PM
Solved! Go to Solution.
‎10-12-2015 01:02 PM
Select tblADusers.Displayname,
tblADusers.Username,
tblADusers.whenCreated
From tblADusers
Where Not Exists(Select tblCPlogoninfo.Username,
tblCPlogoninfo.Domain From tblCPlogoninfo
Where tblCPlogoninfo.Username = tblADusers.Username And
tblCPlogoninfo.Domain = tblADusers.Userdomain And tblCPlogoninfo.logontime >
GetDate() - 120)
Order By tblADusers.Username
‎01-24-2018 08:19 PM
‎01-24-2018 03:57 PM
‎10-12-2015 01:02 PM
Select tblADusers.Displayname,
tblADusers.Username,
tblADusers.whenCreated
From tblADusers
Where Not Exists(Select tblCPlogoninfo.Username,
tblCPlogoninfo.Domain From tblCPlogoninfo
Where tblCPlogoninfo.Username = tblADusers.Username And
tblCPlogoninfo.Domain = tblADusers.Userdomain And tblCPlogoninfo.logontime >
GetDate() - 120)
Order By tblADusers.Username
Experience Lansweeper with your own data. Sign up now for a 14-day free trial.
Try Now