Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Thanks to Daniel Savage for helping with this one.
/*
Get all groups from Data Warehouse
*/
USE OperationsManagerDW
SELECT DISTINCT DisplayName
FROM vManagedEntity
WHERE (ManagedEntityTypeRowId IN
(SELECT ManagedEntityTypeRowId
FROM dbo.ManagedEntityDerivedTypeHierarchy
((SELECT ManagedEntityTypeRowId
FROM vManagedEntityType
WHERE (ManagedEntityTypeSystemName = 'system.group')), 0)))