public UserGroupsResult getGroupList ( String username ) throws APIConnectionException , APIRequestException { StringUtils . checkUsername ( username ) ; ResponseWrapper response = _httpClient . sendGet ( _baseUrl + userPath + "/" + username + "/groups" ) ; return UserGroupsResult . fromResponse ( response ) ; }
Get all groups of a user