If you are coming from relational database background it may be familiar to you how many-to-many associations are handled: an additional association table is needed.

In the following example we have Groups and Users of which relation is defined as many-to-many. In this case we also need to define an additional class called Groupuser.