I need to get the logged in user's team in my js file. Tried below method but it gives default teams for that user, but not the actual team where the user resides.
app.user.getPreference('default_teams')
I need to get the logged in user's team in my js file. Tried below method but it gives default teams for that user, but not the actual team where the user resides.
app.user.getPreference('default_teams')
Thanks Venkatesh, it worked.