use either username or role name for team name