So I am trying to use the api for some management tasks and I can not find a way using the api to get all the users.
I am trying to do two things:
- Using an external list + a white list suspend users that should no longer have active accounts.
- Trigger a SSO log out to force everyone to have to re login (this is needed due to some upstream data issues that I do not control)
Two possible options:
- The api call of list_users(type) only returns 100 users. The underlying call of
users = ::AdminUserIndexQuery.new(params).find_usershas a default limit of 100 so in theory this could return everyone. Though performance would probably be horrible.
- The second way would be to use the export users functionality in the interface and while this would work it requires human intervention which is what I am trying to avoid.
Is there anything I am missing? Thanks.