How do I write a plugin to get the account creation date, total number of users & total number of licensed users in Jenkins?

I am trying to write a plugin for Jenkins to get the account creation date, total number of users, and total number of licensed users. I am having difficulty understanding how I can access the necessary data and create the plugin to display the required information. I tried searching for a solution, but I couldn’t find one.

Is there a way to get the same thing mentioned above?

Hello @ajith and welcome to this community :wave:

I don’t know how to do that with a plugin, but is it really necessary to go that route?
Wouldn’t an API call be enough for that?
https://api4jenkins.readthedocs.io/en/latest/user/api.html#api4jenkins.user.Users

also whats a licensed user?