code: public GitkitUser getUserByLocalId(String localId)
        throws GitkitClientException, GitkitServerException {
      Preconditions.checkNotNull(localId);
      try {
        JSONObject result = rpcHelper.getAccountInfoById(localId);
        return jsonToUser(result.getJSONArray("users").getJSONObject(0));
      } catch (JSONException e) {
        throw new GitkitServerException(e);
      }
    }
docs: Gets user info given a user id.
  
  @param localId user identifier at Gitkit.
  @return Gitkit user info.
  @throws GitkitClientException if request is invalid
  @throws GitkitServerException for Gitkit server error