Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

All available access groups RTC!

 I am trying to get all the existing access groups from RTC using java API but only the first 250 results are always returned.I have tried using both getAccessGroups and IAccessGroupClientService but both are returning the same 250 results.Is there any other way to get all the available access groups at once? Also a filter which enables me to get the access group UUID using access group name is also welcome.Many thanks in advance! 

0 votes



One answer

Permanent link
You could call IAccessGroupService.getAvailableAccessGroups, which allows you to pass in a value for 'maxResults'... but I think in the end it will be a max of IQueryService.ITEM_QUERY_MAX_PAGE_SIZE, which is 512. Do you really expect to have more than 512 access groups on your server?

I did a search and found that this request is tracked here:
Please up-vote this and add a comment to raise awareness of this one

In the mean time, I wonder if you could do something fancy with the 'filter' argument call for that API.. such as using "a*", and "b*", etc... (yes I realize this is a really really horrible and inefficient way to find all access groups that start with 'a - z'... but if you need to determine this information extremely rarely it might work, as I'm not aware of any other API that would let you find all of them.)

0 votes

Your answer

Register or log in to post your answer.

Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details
× 10,943

Question asked: Mar 17 '19, 12:33 a.m.

Question was seen: 1,162 times

Last updated: Mar 17 '19, 9:20 p.m.

Confirmation Cancel Confirm