title: Can i search any person in linkedin with API or only people near me?
body: <p>I am using the library linkedin-j to use the linkedin API in Java. I am testing the search functionality but it seems that only return people near me, and I need to search people who has not relation with me, or people from any university or something like that.</p>
  
  <p>I am using this code:</p>
  
  <pre><code> Map&lt;SearchParameter, String&gt; searchParameters = new EnumMap&lt;SearchParameter, String&gt;(SearchParameter.class);
   searchParameters.put(SearchParameter.KEYWORDS, "University of X");        
  
   People people = client.searchPeople(searchParameters);
   System.out.println("Total search result:" + people.getCount());
  
   for (Person person : people.getPersonList()) {
       System.out.println(person.getId() + ":" + person.getFirstName() + " " +
       person.getLastName() + ":" + person.getHeadline());
   }
  </code></pre>
  
  <p>It returns me nothing.</p>
  
  <p>However if i put my lastname in the parameters.</p>
  
  <pre><code>    searchParameters.put(SearchParameter.LAST_NAME, "MYLASTNAME");
  </code></pre>
  
  <p>It returns me only me.</p>
  
  <p>Please, how can i search more people with this API?</p>