save_object command to save the currently selected Active Directory object stored in memory to Active Directory. You must save the Active Directory object for any changes you make using ADEdit to take effect in Active Directory. If you select another Active Directory object or end the ADEdit session before saving the currently selected object, your changes will be lost.
If an object has invalid attributes or values or is the wrong class for the container where it’s being saved, Active Directory will report an error and the object will not be saved.
This command takes no options.
This command takes no arguments.
This command returns nothing if it runs successfully.
This example saves the currently selected Active Directory object to Active Directory.
The following commands enable you to view and select the object to work with:
- get_objects performs an LDAP search of Active Directory and returns a Tcl list of the distinguished names of objects matching the specified search criteria.
- new_object creates a new Active Directory object and stores it in memory.
- select_object retrieves an object and its attributes from Active Directory and stores it in memory.
After you have an Active Directory object stored in memory, you can use the following commands to work with that object’s attributes, delete the object, or save information for the object:
- add_object_value adds a value to a multi-valued field attribute of the currently selected Active Directory object.
- delete_object deletes the selected Active Directory object from Active Directory and from memory.
- delete_sub_tree deletes an Active Directory object and all of its children from Active Directory.
- get_object_field reads a field value from the currently selected Active Directory object.
- remove_object_value removes a value from a multi-valued field attribute of the currently selected Active Directory object.
- set_object_field sets a field value in the currently selected Active Directory object.