Delete user's by last login date

77 views
Skip to first unread message

Sentoo

unread,
Jan 15, 2016, 9:52:46 AM1/15/16
to Jenkins Users
We are running a Jenkins instance within our corporate network and have protected the access with authentication against LDAP and authorization via the role matrix plugin. As we have been doing this for a while (5 years), we started piling up several unused user accounts. Most of them are freelancers that have fulfilled their job and moved on.

We want to get rid of the unused accounts. As of now I am having a look on the "/jenkins/asynchPeople/" page, order it by the last commit activity, note down those how have been inactive for a year, head over to the role matrix plugin to delete those.

Obviously this is repetitive work and as I am lazy about this kind of work I started to wonder if there is a better way to do this.

If not I would begin a plugin ... :)

Slide

unread,
Jan 15, 2016, 10:36:51 AM1/15/16
to Jenkins Users
You could probably do something with the script console or scriptler. I wouldn't write a whole plugin for it.

--
You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-use...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/7031d81d-3ead-4fdb-8080-ff75c6304eb3%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages