What do multiprogramming and time sharing have in common?

Time-sharing and multiprogramming have various differences. However, these two environments share the feature whereby several users can use the system at the same time.