‎09-09-2014 11:31 AM
Select Top 1000000 tblADusers.Username,
tblADusers.Displayname,
tblADusers.email,
tblADusers.EmployeeID,
Replace(Replace(Replace(Replace(tblADusers.OU, 'OU=Users,', ''),
',DC=domain,', ''), 'DC=com', ''), 'OU=', '') As Department
From tblADusers
Solved! Go to Solution.
‎09-09-2014 05:47 PM
‎09-11-2014 08:36 AM
‎09-09-2014 05:47 PM
Experience Lansweeper with your own data. Sign up now for a 14-day free trial.
Try Now