AdministratorGeoStoreClient extends GeoStoreClient { public User getUserDetails() { return getBaseWebResource("users", "user", "details").get(User.class); }  User getUser(long id); User getUser(String name); User getUser(long id, Boolean includeAttributes); UserList getUsers(); UserList getUsers(Integer page, Integer entries); User getUserDetails(); Long insert(User user); void deleteUser(Long id); void update(Long id, User user); long insertUserGroup(UserGroup usergroup); void deleteUserGroup(long usergroupId); void assignUserGroup(long userId, long usergroupId); void deassignUserGroup(long userId, long usergroupId); RESTUserGroup getUserGroup(long usergroupId); UserGroupList getUserGroups(Integer page, Integer entries, boolean all); ShortResourceList updateSecurityRules(ShortResourceList resourcesToSet, Long groupId,
            boolean canRead, boolean canWrite); RESTUserGroup getUserGroup(String name);  }
@Test public void getIdTest() { try { User userd = geoStoreClient.getUserDetails(); System.out.println(userd.getId()); } catch (Exception e) { fail(); } }