I am working on a project where I have to grab all the details of a user which I see on mange roles page for an organization including their permission assignments. I think their is no CLI or any script that give us this information. Any help from the community or Jenkins dev team will be appreciated.
I think you could use the Jenkins API to programmatically fetch this information.
For example, I ran a simple GET /asynchPeople/api/xml?depth=1 on my instance and got:
Thanks @poddingue but that gives us only the username I want the assigned permissions also which I have done through role-based strategy. Does this API support Pagination or it returns only 100 just like other Jenkins APIs. Is their any way we can get user SID also through API.