}
}
@Override
public Collection<String> getPermissionSetsFromUser(String username) throws UserNotFoundException {
UserData user = doFindUser(username);
Collection<PermissionSetData> permissionSets = user.getPermissionSet().getPermissionSets();
return Collections2.transform(permissionSets, new Function<PermissionSetData, String>() {
@Override
public String apply(PermissionSetData input) {
return input.getName();
}