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
Highlighted
Developer
Posts: 51
Registered: ‎04-08-2013
My Device: Playbook
My Carrier: None
Accepted Solution

Problem: GetUsersDetailRequest in users method. :NET

Hello,

I want to get all users in detail GetUsersDetailRequest. Following the example I have to get all users first in order to get the response. 

 

   GetUsersDetailRequest request = new GetUsersDetailRequest();

   request.metadata = Metadata;

   User[] users = request.users;

 

   I would like to call: 

 

  GetUsersDetailResponse response = bwsService.getUsersDetail(request);




On the API there is a Method called getUsers().add(user) which I cannot find in .NET development.

Does anyone can give me a hint?

Thank you

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

Re: Problem: GetUsersDetailRequest in users method. :NET

In .NET you would do something like:

request.users = yourUsersList;

 

or

 

request.users = new User [] {user1, user2, ...};

Garett
@garettBeuk
--
Goodbye everybody!