Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

BlackBerry Web Services

Thank you for visiting the BlackBerry Support Community Forums.

BlackBerry will be closing the BlackBerry Support Community Forums Device Forums on April 1st (Developers, see below)

BlackBerry remains committed to providing excellent customer support to our customers. We are delighted to direct you to the CrackBerry Forums, a well-established and thorough support channel, for continued BlackBerry support. Please visit http://forums.crackberry.com or http://crackberry.com/ask. You can also continue to visit BlackBerry Support or the BlackBerry Knowledge Base for official support options available for your BlackBerry Smartphone.

"When we launched CrackBerry.com 10 years ago, we set out to make it a fun and useful destination where BlackBerry Smartphone owners could share their excitement and learn to unleash the full potential of their BlackBerry. A decade later, the CrackBerry community is as active and passionate as ever and I know our knowledgeable members and volunteers will be excited to welcome and assist more BlackBerry owners with their questions."

- Kevin Michaluk, Founder, CrackBerry.com

Developers, for more information about the BlackBerry Developer Community please review Join the Conversation on the BlackBerry Developer Community Forums found on Inside BlackBerry.

New Contributor
Posts: 8
Registered: ‎03-16-2011
My Device: none
My Carrier: none

export user list with the BlackBerry Enterprise API

[ Edited ]

Hello everybody,


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:

FindUsersResultfindUsers(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?





Posts: 2,559
Registered: ‎10-16-2009
My Device: BlackBerry Z10
My Carrier: Bell

Re: export user list with the BlackBerry Enterprise API

Hi fgb,


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.

Goodbye everybody!