ListGroupsResponseDocument responseDocument = proxy.listGroups(input);
return responseDocument.getListGroupsResponse().getGroupArray();
}
public String[] listGroupsGivenAUser(String user) throws XregistryException {
ListGroupsGivenAUserDocument input = ListGroupsGivenAUserDocument.Factory.newInstance();
input.addNewListGroupsGivenAUser().setUserName(user);
ListGroupsGivenAUserResponseDocument responseDocument = proxy.listGroupsGivenAUser(input);
return responseDocument.getListGroupsGivenAUserResponse().getGroupArray();
}