How to find all teams a user belongs to?

Hi,

How do you write an sql to get a list of teams a user belongs to? I can only find "default_team" (primary team) in user table. I need to know if user is represented in other teams. I need this in a hook.

Thanks and regards Jorgen

Parents Reply Children
No Data