Quantcast
Channel: THWACK: Popular Discussions - User Device Tracker
Viewing all articles
Browse latest Browse all 10737

How to create and Advanced SQL Query to show UDT_Users by department

$
0
0

I am trying to create an advanced SQL Query using the template for User History which is on the Orion Report Writer:

 

SELECT  TOP 10000 UDT_UserHistory.UserName AS UserName,

UDT_UserHistory.LogonDateTime AS LogonDateTime,

UDT_UserHistory.IPAddress AS IPAddress,

UDT_UserHistory.DNSName AS DNSName,

UDT_UserHistory.DaysBeforeLogin AS DaysBeforeLogin,

UDT_UserHistory.UserID AS UserID

 

FROM

UDT_UserHistory

 

 

ORDER BY 1 ASC, 2 DESC

 

 

I would like to also include information about the user such as AD username & Department. If anyone has any ideas or a custom report they could share that would be great.

 

Thank you,


Viewing all articles
Browse latest Browse all 10737

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>