Skip to main content
Unlisted page
This page is unlisted. Search engines will not index it, and only users having a direct link can access it.

Department Detail of AD Users Script

Summary

This dataview stores the AD Users department information.

Dependencies

Columns

ColumnDescription
Client NameClient Name of the DC Server
Location NameLocation Name of the DC Server
Computer NameComputer Name of the DC Server
Operating SystemOperating System of the DC Server
DepartmentDepartment information of the AD Users of the DC Server
UserNameUser name list of the DC server

SQL Representation

SELECT 
cl.name AS `Client Name`,
l.name AS `Location Name`,
c.name AS `Computer Name`,
c.os AS `Operating System`,
pp.UserName,
pp.department AS `User Department`
FROM
computers c
JOIN clients cl ON c.clientid = cl.clientid
JOIN locations l ON l.locationid = c.locationid
JOIN plugin_proval_computer_department pp ON pp.computerid = c.computerid