User-Manager relationship in Service Management DB
Best Answer
-
Justin_Workman Cireson Support Super IT Monkey ✭✭✭✭✭@David_Sebba - CI$User doesn't have this info. But this query will work against ServiceManager and you can build a dashboard around it:SELECT u.DisplayName AS 'User', m.DisplayName AS 'Manager'FROM [ServiceManager].[dbo].[Relationship] rINNER JOIN dbo.MT_System$Domain$User mON m.BaseManagedEntityId = r.SourceEntityIdINNER JOIN MT_System$Domain$User uON u.BaseManagedEntityId = r.TargetEntityIdWHERE RelationshipTypeId = '4a807c65-6a1f-15b2-bdf3-e967e58c254a'order by u.DisplayName5
Answers