I am trying to get all the users using Blackboard Learn web services, but using the filter type GET_ALL_USERS_WITH_AVAILABILITY, (1), always return null.
I am using the workaround by Kurt Faulknerloser in edugarage, who use the filter type GET_USER_BY_SYSTEM_ROLE, and it is working, but it's limited by the hardcoded selected roles.
Here is the snippet I was trying to run in 2014 October release:
UserFilter userFilter = new UserFilter(); userFilter.setFilterType(UserWSConstants.GET_ALL_USERS_WITH_AVAILABILITY); userFilter.setAvailable(true); GetUser getUser = new GetUser(); getUser.setFilter(userFilter); GetUserResponse getUserResponse = userWSStub.getUser(getUser); UserVO userVOs = getUserResponse.get_return();
Is this a known issue or am I doing any mistake?
Thank you in advance.