Answers.Body: <p>There's a nice list in the Craft docs with lot of examples for <a href="http://buildwithcraft.com/docs/searching" rel="nofollow">supported search syntaxes</a>. Here's two that probably do what you are after:</p>
  
  <blockquote>
    <p><code>body:salty</code> → where the ‘body’ field contains “salty”.<br>
    <code>body::"salty dog"</code> → where the ‘body’ field is set to “salty dog” and nothing more.</p>
  </blockquote>
  
  <p>Combine it with your variable like so:</p>
  
  <pre><code>craft.users.search('fullName::"' ~ getauth ~ '"')
  </code></pre>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2014-09-02T06:02:43.263Z
Answers.Text: This is the one thanks. Works great. I did look at this, but can't have been getting the syntax exactly right.
Answers.UserDisplayName: Simon Clayson
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2014-09-01T20:08:28.210Z
Answers.LastActivityDate: 2014-09-01T20:08:28.210Z
Answers.UserDisplayName: carlcs
Answers.Body: <p>What about not using the <code>search</code> parameter at all and use the <code>lastName</code> and <code>firstName</code> parameters instead (you wouldn't rely on up-to-date search indexes)?</p>
  
  <pre><code>{% set getauth = 'tom+bowler' %}
  
  {% set fullName = getauth|split('+') %}
  {% set lastName = fullName[1] %}
  {% set firstName = fullName[0] %}
  
  {% for authordetails in craft.users.lastName(lastName).firstName(firstName) %}
  </code></pre>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2014-09-02T06:07:05.770Z
Answers.Text: Tried this as well, but it didn't seem so happy. Appreciated!
Answers.UserDisplayName: Simon Clayson
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2014-09-01T21:23:54.583Z
Answers.LastActivityDate: 2014-09-01T21:23:54.583Z
Answers.UserDisplayName: carlcs
Body: <p>I'm successfully listing user (authors) via search from the url, so </p>
  
  <p>/author/Tom+Bowler lists data and entries by that name with</p>
  
  <pre><code>{% set getauth = craft.request.lastSegment %}
  {% for authordetails in craft.users.search(getauth) %}
  </code></pre>
  
  <p>but we want to limit that search to 'fullName' (or what is best) ideally, as currently we are listing any authors not just the one that may mention "Tom Bowler" in their bio.</p>
  
  <p>At what point, and how is best to filter down to that search?</p>
  
Tags: <search>
Title: Search, by just one user field - fullName?
ThreadText: # Search, by just one user field - fullName?
  
  (Asked by: username_0 on 2014-09-01)
  
  I'm successfully listing user (authors) via search from the url, so
  
  /author/Tom+Bowler lists data and entries by that name with
  
  ```
  {% set getauth = craft.request.lastSegment %}
  {% for authordetails in craft.users.search(getauth) %}
  
  ```
  
  but we want to limit that search to 'fullName' (or what is best) ideally, as currently we are listing any authors not just the one that may mention "Tom Bowler" in their bio.
  
  At what point, and how is best to filter down to that search?
  
  **Tags:** search
  
  
  ---
  
  ## 2 answers
  
  ### Answer by username_1 on 2014-09-01. Score: 2 | Accepted answer
  
  There's a nice list in the Craft docs with lot of examples for [supported search syntaxes](http://buildwithcraft.com/docs/searching). Here's two that probably do what you are after:
  
  > `body:salty` → where the ‘body’ field contains “salty”.  
  > `body::"salty dog"` → where the ‘body’ field is set to “salty dog” and nothing more.
  
  Combine it with your variable like so:
  
  ```
  craft.users.search('fullName::"' ~ getauth ~ '"')
  
  ```
  
  > **Comments:**
  > **username_0**: This is the one thanks. Works great. I did look at this, but can't have been getting the syntax exactly right.  
  
  ---
  
  ### Answer by username_1 on 2014-09-01. Score: 1
  
  What about not using the `search` parameter at all and use the `lastName` and `firstName` parameters instead (you wouldn't rely on up-to-date search indexes)?
  
  ```
  {% set getauth = 'tom+bowler' %}
  
  {% set fullName = getauth|split('+') %}
  {% set lastName = fullName[1] %}
  {% set firstName = fullName[0] %}
  
  {% for authordetails in craft.users.lastName(lastName).firstName(firstName) %}
  
  ```
  
  > **Comments:**
  > **username_0**: Tried this as well, but it didn't seem so happy. Appreciated!  
  
  ---
  
  