cancel
Showing results for 
Search instead for 
Did you mean: 

change in getUserIds() method.

adam_bo_
Star Contributor
Star Contributor

In schedule handle I use the following code:

UserManager userManager = Framework.getService(UserManager.class);
List<String> users = userManager.getUserIds();

log.debug("users: " + users.size());

It have worked in Nuxeo 5.5 but in 5.8 it returns 0 as the size. What has changed between these two versions ?

2 REPLIES 2

adam_bo_
Star Contributor
Star Contributor

Ok, I found a solution. The problem was that directory should be removed in 5.8 (it was not necessary in 5.5) before it can be redefined. So, I have included extra line:

There was a SizeLimitExceededException according to the standard 50 records limit.

Getting started

Attention: Blogs & Forums are in READ-ONLY mode from Oct 9-19 as we transition to our new platform. Learn more.

Find what you came for

We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.