You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@prachi-okta UserResourcesApi.listUserGroups(userId) is not returning PagedList<>. How can I use asNext() for List<>? Also, this seems to be deprecated in latest version. Is it actually possible to paginate through User.ResourcesApi.listUserGroups? Can you provide me a sample code on how this can be done if possible?
Using following code only provides first 200 user group membership
var userResourcesApi = new UserResourcesApi(client);
var groups = userResourcesApi.listUserGroups(userId);
However, there are no clear instructions on how we can get paged results for this list
https://developer.okta.com/okta-sdk-java/apidocs/com/okta/sdk/resource/api/UserResourcesApi.html
The doc says additional headers but I am having hard time coming up with the parameters required to get paged list as we can do for listUsers api.
The issue #1286 says this was added to the code but how do we make use of it.
The text was updated successfully, but these errors were encountered: