I have users linked to groups using a cross table. Example:
user:
user
+----+-------+--------+---- | id | login | active | ... +----+-------+------