title: How to retrieve certain user fields using Rally REST API?
body: <p>When I query Rally REST API (.net) I am able to get all the user values except the following fields:</p>
  
  <ol>
  <li>Role </li>
  <li>CostCenter </li>
  <li>LastLoginDate </li>
  <li>OfficeLocation </li>
  <li>c_RoleType </li>
  <li>CreationDate</li>
  </ol>
  
  <p>When I fire up a url "<a href="https://rally1.rallydev.com/slm/webservice/v2.0/user/xxxxxxxxxx" rel="nofollow">https://rally1.rallydev.com/slm/webservice/v2.0/user/xxxxxxxxxx</a>" in a browser I am able to access all the above fields.</p>
  
  <p>However, when I use REST API the result set doesn't include any of the above fields.</p>
  
  <p>Not sure if I need to do anything differently.</p>
  
  <pre><code>request = new Request("user");
  request.Fetch = fetchList;
  request.Workspace = RallyInterface.workspaceRef;
  QueryResult queryResult = restApi.Query(request);
  </code></pre>
  
  <p>PS. In above example Fetch string is empty and the aim is to fetch all the possible user fields. When I debug I am only able to get the following 18 fields</p>
  
  <pre><code>    [0] "_rallyAPIMajor"    string
      [1] "_rallyAPIMinor"    string
      [2] "_ref"  string
      [3] "_refObjectUUID"    string
      [4] "_objectVersion"    string
      [5] "_refObjectName"    string
      [6] "ObjectID"  string
      [7] "Department"    string
      [8] "Disabled"  string
      [9] "DisplayName"   string
      [10]    "EmailAddress"  string
      [11]    "FirstName" string
      [12]    "LastName"  string
      [13]    "MiddleName"    string
      [14]    "Phone" string
      [15]    "Role"  string
      [16]    "UserName"  string
      [17]    "_type" string
  </code></pre>
  
  <p>Also, when I use GetByReference(), I am able to get the value for "Role" but not for any of the following fields:</p>
  
  <ol>
  <li>CostCenter </li>
  <li>LastLoginDate </li>
  <li>OfficeLocation </li>
  <li>c_RoleType </li>
  <li>CreationDate</li>
  </ol>
  
  <p>GetByReference() response returns with field not found message.</p>