src/Asana/Resources/Gen/TeamsBase.php
public function findByUser($user, $params = array(), $options = array())
    {
        $path = sprintf("/users/%s/teams", $user);
        return $this->client->getCollection($path, $params, $options);
    }
public function findByUser($user, $params = array(), $options = array())
    {
        $path = sprintf("/users/%s/teams", $user);
        return $this->client->getCollection($path, $params, $options);
    }
public function findByUser ( $ user , $ params = array ( ) , $ options = array ( ) ) { $ path = sprintf ( "/users/%s/teams" , $ user ) ; return $ this -> client -> getCollection ( $ path , $ params , $ options ) ; }
Returns the compact records for all teams to which user is assigned.

@param  user An identifier for the user. Can be one of an email address,
the globally unique identifier for the user, or the keyword `me`
to indicate the current user making the request.
@return response
Returns the compact records for all teams to which user is assigned .