$core_v2_group.Current is returning site root group

I had assigned User1 to Group1 as member. When I call  $core_v2_group.Current it gives me Site Root group. How can I get the group where the logged-in user belongs to?

Related