Modifying or deleting selected objects
Once an object is selected and residing in the ADEdit context, you can modify its fields using the ADEdit set_xxx_field
commands, where xxx
is the object type. These commands allow you to specify a field name and a field value. For example:
>select_zone_user adam.avery@acme.com
>set_zone_user_field uname buzz
This example selects the zone user adam.avery@acme.com
and sets the uname
field for the zone user—the UNIX user name—to buzz
. The field is set to the new value only in memory., however. You must save the object before the new field value is stored in Active Directory and takes effect within the object’s domain. For example:
>save_zone_user