ResponseWrapper response = _httpClient.sendGet(_baseUrl + adminPath + "?start=" + start + "&count=" + count);
return UserListResult.fromResponse(response, UserListResult.class);
}
public UserGroupsResult getGroupList( String username )
throws APIConnectionException, APIRequestException
<BUG>{
Preconditions.checkArgument( !StringUtils.isTrimedEmpty(username), "username should not be empty");
Preconditions.checkArgument(!StringUtils.isLineBroken(username), "username must not contain line feed character. ");</BUG>
ResponseWrapper response = _httpClient.sendGet(_baseUrl + userPath + "/" + username + "/groups");
return UserGroupsResult.fromResponse(response);

ResponseWrapper response = _httpClient.sendGet(_baseUrl + adminPath + "?start=" + start + "&count=" + count);
return UserListResult.fromResponse(response, UserListResult.class);
}
public UserGroupsResult getGroupList( String username )
throws APIConnectionException, APIRequestException
{
Preconditions.checkArgument(StringUtils.isUsernameValid(username), "The username is illegal, please check again");
ResponseWrapper response = _httpClient.sendGet(_baseUrl + userPath + "/" + username + "/groups");
return UserGroupsResult.fromResponse(response);
