→ 🚀Are you a Lansweeper Champion?! Join our Contributor Program Sign up here!

Community FAQ
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
sisman
Engaged Sweeper II
Hi,

is it possible to generate report like this:

-list of users who were logged on on more than one workstation in last 30 days-
12 REPLIES 12
Hemoco
Lansweeper Alumni
Add top 1000000

Select top 1000000 tblCPlogoninfo.Username, tblCPlogoninfo.Domain,
Count(tblCPlogoninfo.Computername) As total
From tblCPlogoninfo
Where tblCPlogoninfo.logontime > GetDate() - 30
Group By tblCPlogoninfo.Username, tblCPlogoninfo.Domain
Order By Count(tblCPlogoninfo.Computername) Desc
sisman
Engaged Sweeper II
can not save this query as report.

Hemoco
Lansweeper Alumni
try this:

Select tblCPlogoninfo.Username, tblCPlogoninfo.Domain,
Count(tblCPlogoninfo.Computername) As total
From tblCPlogoninfo
Where tblCPlogoninfo.logontime > GetDate() - 30
Group By tblCPlogoninfo.Username, tblCPlogoninfo.Domain
Order By Count(tblCPlogoninfo.Computername) Desc

Archive

This board contains archived posts from the retired Lansweeper Forum and Insiders 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