public function searchUser($name, $limit = 0)
    {
        $params = array();

        $params['q'] = $name;
        if ($limit > 0) {
            $params['count'] = $limit;
        }

        return $this->_makeCall('users/search', false, $params);
    }
public function searchUser($name, $limit = 0)
    {
        $params = array();

        $params['q'] = $name;
        if ($limit > 0) {
            $params['count'] = $limit;
        }

        return $this->_makeCall('users/search', false, $params);
    }
public function searchUser ( $ name , $ limit = 0 ) { $ params = array ( ) ; $ params [ 'q' ] = $ name ; if ( $ limit > 0 ) { $ params [ 'count' ] = $ limit ; } return $ this -> _makeCall ( 'users/search' , false , $ params ) ; }
Search for a user.

@param string $name Instagram username
@param int $limit Limit of returned results

@return mixed
Search for a user .