[rtcdyn].[dbo].[Endpoint]是在线的人员表
//获取在线人员信息:
SELECT b.UserAtHost FROM [rtcdyn].[dbo].[Endpoint] a,[rtc].[dbo].[Resource] b WHERE a.OwnerId = b.ResourceId ORDER BY b.UserAtHost