07-02-2025 12:09 AM
Hello,
I would like to manage the checkbox "Locked by administrator" with AXL.Is it possible?
07-02-2025 11:54 AM
Yes, you can with updateUser, something like:
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns="http://www.cisco.com/AXL/API/15.0">
<soapenv:Header/>
<soapenv:Body>
<ns:updateUser sequence="1">
<uuid>xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx</uuid>
<passwordCredentials>
<pwdCredLockedByAdministrator>false</pwdCredLockedByAdministrator>
</passwordCredentials>
</ns:updateUser>
</soapenv:Body>
</soapenv:Envelope>
You can use <userid>?</userid> if you prefer, now, this will only work for local users, LDAP synced users need to be managed from the LDAP.
07-02-2025 12:15 PM
You can unlock a local CUCM user using the AXL updateUser method by setting <pwdCredLockedByAdministrator>false</pwdCredLockedByAdministrator> inside <passwordCredentials>. This effectively clears the “Locked by administrator” status.
Keep in mind this works only for local users managed directly in CUCM. For LDAP-synced users, you must handle unlocking in the LDAP directory since CUCM does not control that setting for them.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide