Rally Software

Expand all | Collapse all

Is there a way to script the deactivation of dormant users?

  • 1.  Is there a way to script the deactivation of dormant users?

    Posted 10-06-2015 10:44 AM
    I would like to be able to deactivate users who haven't logged in for three months "in bulk". I can generate a list of users in the Users section, filter by "Active=yes" and sort by date to see who they are, but if there's 50 or 60, it's truly painful to have to open each user's record in Edit mode to deactivate them. 

    Ideally, there'd be a bulk-edit feature, but since this will take time to implement, has anybody figured out a way to script something like this?

    Thanks!

    Steve


  • 2.  Re: Is there a way to script the deactivation of dormant users?

    Posted 10-06-2015 01:45 PM
    I ended up having to write a Java program to do that (I interface with AD to get a list of disabled users, then match it with the Rally list, then disable the union of the two).
    You can check this site out (this is all in Ruby, written by someone named Mark Williams); I think this will serve your needs with just a bit of tweaking:
    https://github.com/RallyTools/Rally-User-Management
    HTH.
    Sesh
     


  • 3.  Re: Is there a way to script the deactivation of dormant users?

    Posted 10-06-2015 05:54 PM
    Seshadri,

    Thanks for the info! I'll look into that as a possible solution.

    Steve