Currently I am running Ruby based script to disable users which have not logged in since last 45 days or more. Current process is quite manual and steps are below
provide rally userid and password in Ruby variables list
Get list of users who have not logged in from last more than 45 days
filter their emails ids and feed it to ruby disable list
Run command promopt to login using your company user id and passowrd
Run Ruby script to disable users using command prompt
I am looking for something which will be either a scheduled activity or it can be just one click. Though I can try to optimize above steps but thought of knocking community door to see if there is something better available.
Himanshu
provide rally userid and password in Ruby variables list
Get list of users who have not logged in from last more than 45 days
filter their emails ids and feed it to ruby disable list
Run command promopt to login using your company user id and passowrd
Run Ruby script to disable users using command prompt
I am looking for something which will be either a scheduled activity or it can be just one click. Though I can try to optimize above steps but thought of knocking community door to see if there is something better available.
Himanshu
In my case I wrote a Java program against the WebServices API to get a list of users that need to be disabled (I cross-match with LDAP output of disabled users). It's run automatically using the Windows AT command.
https://support.microsoft.com/en-us/kb/313565
In my opinion that's the best and simplest way to do this. The AT command invokes a bat file that invokes the Java program with proper command-line arguments. The password is in a keystore, stored securely, and not in plaintext format.
Hope this helps you? Please don't hesitate to post additional questions if you need any clarification.
Sesh