Different value of variables for users from different teams

Grafana 7 and 8 oss version.
Maybe someone solved a similar problem?
Problem: We have an Organization with user1-1, user1-2, user2-1 and user2-2, all user1-* are in team1 and user2-* are in team2.
Question: is it possible for users from team1, when using a common dashboard for both teams, that the variable would take the value 10, and for users from team2 it would take the value 20?
Now this is solved by creating a dashboard for each team, where the variable has a different value, but if there are more than 100 such teams…

is it possible to capture the currently logged in user and hence that user’s team?

can you give a little more detail? Or is this a question for the developers?