internal User GetUserByRoleID(int roleId) { foreach (User us in room_users_) { if (us != null && us.RoleId == roleId) { return us; } } return null; }