Welcome!

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

Reply
New Contributor
BBAndroidDev
Posts: 2
Registered: ‎10-20-2011
My Device: 8330

How to get all BB devices managed by a BES

[ Edited ]

How to retrieve information on all BB devices managed on a BES?.

 

Thanks

BBAndroidDev

Retired
gbeukeboom
Posts: 2,559
Registered: ‎10-16-2009
My Device: BlackBerry Z10

Re: How to get all BB devices managed by a BES

Hi BBAndroidDev and welcome to the forums!

 

Using the BlackBerry Web Services for Enterprise Administration (BWS) you can retrieve all devices on a BES using the BWS#getUsers() call. The returned result will be a list of User objects which include their Device objects.

 

Regards,

Garett
@garettBeuk
--
Goodbye everybody!
New Contributor
BBAndroidDev
Posts: 2
Registered: ‎10-20-2011
My Device: 8330

Re: How to get all BB devices managed by a BES

Thanks Garett.

 

How about doing this for BES versions that don't have BWS?.

 

API reference guide should have search feature. It is a difficult to look up methods.

Retired
gbeukeboom
Posts: 2,559
Registered: ‎10-16-2009
My Device: BlackBerry Z10

Re: How to get all BB devices managed by a BES

Prior to BWS you can make use of the BlackBerry Administration APIs which are available from BES versions 5.0.0-5.0.3:
http://docs.blackberry.com/en/developers/subcategories/?userType=21&category=BlackBerry+Administrati...

For both BWS and BAA there are jusrt a few interfaces which include all calls that can be made with the APIs. For BWS all functional calls can be found in the BWS interface.

Regards,
Garett
@garettBeuk
--
Goodbye everybody!