CUCM 6.13 - Need to Update End User Account Passwords

Version 1
    This document was generated from CDN thread

    Created by: Keith Lunn on 27-07-2009 08:37:38 PM
    Hello Folks,
    Env: CUCM6.13; Scripting Env:WIN2003 Server, JScript,WSH5.7
     
    I need to:
    -retrieve a list of all End User accounts and store the UserID into an array
    -process the array list and then for each account, set a new password and set option for "User Must change at Next Login"
     
    What APIs do I use to do this? Sorry, I was looking at the AXL API Intergace spec and wow, am I lost!
    Thanks for any comments and help!!!!

    Subject: RE: CUCM 6.13 - Need to Update End User Account Passwords
    Replied by: David Staudt on 27-07-2009 09:23:37 PM
    Use the listUserByName request with a '%' wildcard to get a listing of all users - be careful with this on a large system.
     
    Then use updateUser request to set the password.  You can specify the passwordCredentials seuqnece, setting pwdCredUserMustChange to 'True'

    Subject: RE: CUCM 6.13 - Need to Update End User Account Passwords
    Replied by: Keith Lunn on 27-07-2009 11:33:21 PM
    Thanks David!!!!
    BTW, what would happen if say I selected 17,000 accounts?