03-16-2011 03:23 PM - edited 03-16-2011 03:31 PM
I am trying to export a userlist from the BESServer and it is a little bit confusing.
My goal is to save all informations concerning the users. The problem is that the method findUsers() from the core WS only permit me to get the informations that the user has as attribute, not the informations like the associated device, with the PIN number, the carrier, and everything else...
I can for example find all the users using the find method on the core WS:
|FindUsersResult||findUsers(UserSearchCriteria searchCriteria, BASEnumBaseDTO sortBy, boolean sortAscendingOrder, java.lang.String locale, UserSearchResult lastResultElement, int pageSize)|
But this method will only return a FindUsersResult object, that I can use to get all the UserSearchResult object, and get the UserSearchResultServiceAttributesType object... The problem is that this is not permitting me to get the information associated to the user in the BASUserSearchResultServiceAttributesType... (like the device, carrier, PIN, etc...).
Is there a simple way to get every single information about a User, that has been already implemented?
03-17-2011 09:05 AM
All the information you listed as required (PIN, carrier) can be accessed via the returned BASUserSearchResultServiceAttributesType object. Refer to the findUsers() sample code for how to retrieve this object from the FindUsersResult.