code: public ApiUser getUser(String name) {
          User sfsUser = CommandUtil.getSfsUser(name, api);
          if(sfsUser == null)
              return null;
          return (ApiUser) sfsUser.getProperty(APIKey.USER);
      }
docs: Get user agent reference
  
  @param name name of user agent
  @return user agent object