Script pagination

Hi, i want the list of all users, but only return 100 users, How can I use the API to list all users?

Some of the other APIs provide a continuation token to allow for pagination, but the users API seems to be missing this feature. The code sets a hard-limit on 100 users for anything except the default realm to avoid problems with remote sources such as LDAP. You may wish to vote for this ticket to help us prioritize this request. [NEXUS-21388] add paging for security/users resource - Sonatype JIRA

1 Like