object userdirectory.update(object/array userDirectory)
This method allows to update existing user directories.
This method is only available to Super admin user type.
(object/array) User directory properties to be updated.
userdirectoryid property must be defined for each user directory, all other properties are optional.
Only the passed properties will be updated, all others will remain unchanged.
(object) Returns an object containing the IDs of the updated user directories under the
Set new bind password for a user directory.
CUserDirectory::update() in ui/include/classes/api/services/CUserDirectory.php.