‎05-13-2020 11:11 PM
‎05-14-2020 04:51 PM
‎05-14-2020 04:57 PM
IT Department at AudioNet wrote:
Ill give that a shot...thanks guys for all the help. I love this LanSweeper product
‎05-14-2020 03:26 PM
‎05-14-2020 04:26 PM
Select Top 1000000 Case
When tblADusers.Displayname Is Null Or
tblADusers.Displayname = '' Then tblADusers.Userdomain + '\' +
tblADusers.Username
Else tblADusers.Displayname
End As Displayname,
tblADusers.Department,
tblADusers.Title,
tblADusers.Username,
tblADusers.Userdomain,
tblADusers.IsEnabled As EnabledInAD,
'usersm.png' As Icon,
tblADusers.LastLogon
From tblADusers
Where tblADusers.IsEnabled = 'True' And tblADusers.LastLogon Is Not Null And
DateDiff(DAY, tblADusers.LastLogon, GetDate()) > 90
Order By tblADusers.LastLogon,
Displayname
‎05-14-2020 12:19 PM
Select Top 1000000 Case
When tblADusers.Displayname Is Null Or
tblADusers.Displayname = '' Then tblADusers.Userdomain + '\' +
tblADusers.Username
Else tblADusers.Displayname
End As Displayname,
tblADusers.Department,
tblADusers.Title,
tblADusers.Username,
tblADusers.Userdomain,
tblADusers.IsEnabled As EnabledInAD,
'usersm.png' As Icon,
tblADusers.LastLogon
From tblADusers
Where tblADusers.LastLogon Is Not Null And DateDiff(DAY, tblADusers.LastLogon,
GetDate()) > 90
Order By tblADusers.LastLogon,
Displayname
Experience Lansweeper with your own data. Sign up now for a 14-day free trial.
Try Now