Welcome to the Official BlackBerry® Support Community Forums. This is your resource to discuss support topics with your peers, and learn from each other. New to the forum? Please visit the ‘Getting Started’ link below.
Reply
New Contributor
paulobordin
Posts: 9
Registered: 11-25-2011
My Carrier: TIM

Disable MDS for an user

Hi, is there any way to disable the MDS service for an user using BWS ?

 

So far I found something in class MDSCSDeviceServiceAttributes where I can set the attribute ServiceEnabled to true or false, but as I can see, it's related to device and not to user, so I didn't find a way to "update the device" with this configuration like I update a user using BAACore.setUser, I could not find any corresponding method to do the same for Device.

 

 

Please use plain text.
BlackBerry Development Advisor
gbeukeboom
Posts: 818
Registered: 10-16-2009

Re: Disable MDS for an user

Hi,

 

It looks like there may be some confusion, in your post you reference BWS, but all of the methods you have referenced are in BAA, not BWS. BWS is new in BES 5.0.3 while BAA has been around since BES 5.0.0.

 

In BWS you cannot disable a user, just delete. In BAA you can disable the user but not enable the user once disabled. In BAA to disable the user you can use the BAACore#disableBlackBerryServiceForUsers() call.

 

Regards,

Garett Beukeboom
BlackBerry Development Advisor
Developer Zone

--
Think or a great new feature? Find a bug?
Log and track them using the Developer Issue Tracker
Please use plain text.
New Contributor
paulobordin
Posts: 9
Registered: 11-25-2011
My Carrier: TIM

Re: Disable MDS for an user

Sorry about the missunderstanding and thanks for your reply.

 

So as I understood from your reply, I can disable the MDS connection for one specific user calling the method BAACore#disableBlackBerryServiceForUsers()?? Wouldn't this disable the user as a Blackberry User?

 

what I want to do is something like the following command using the BESUserAdminClient

 

"besuseradminclient -username admin -password password -change -dm -u jpalmer@test.rim.net -b server01"

 

using the "-dm" option to disable BlackBerry MDS Connection Service for the user.

Please use plain text.
BlackBerry Development Advisor
gbeukeboom
Posts: 818
Registered: 10-16-2009

Re: Disable MDS for an user

Right, it would disable all BlackBerry services for the user. Using the BAS APIs there is no current call to disable just the MDS connectivity for a user.

Garett Beukeboom
BlackBerry Development Advisor
Developer Zone

--
Think or a great new feature? Find a bug?
Log and track them using the Developer Issue Tracker
Please use plain text.