delete_nis_map

Use the delete_nis_map command to delete the currently selected NIS map from Active Directory and from memory. You cannot use other commands to manage the NIS map after deletion because there will be no currently selected map in memory.

Zone Type

Not applicable

Syntax

delete_nis_map

Abbreviation

dlnm

Options

This command takes no options.

Arguments

This command takes no arguments.

Return Value

This command returns nothing if it runs successfully.

Examples

delete_nis_map

This example deletes the currently selected NIS map from Active Directory and from memory.

Before you use this command, you must have a currently selected NIS map stored in memory. The following commands enable you to view and select the NIS map to work with:

  • get_nis_maps returns a Tcl list of NIS maps in the currently selected zone.
  • list_nis_maps lists to stdout of all NIS maps in the currently selected zone.
  • new_nis_map creates a new NIS map and stores it in memory.
  • select_nis_map retrieves a NIS map from Active Directory and stores it in memory.

After you have a NIS map stored in memory, you can use the following commands to work with that map’s entries:

  • add_map_entry or add_map_entry_with_comment adds an entry to the currently selected NIS map.
  • delete_map_entry removes an entry from the currently selected NIS map.
  • get_nis_map or get_nis_map_with_comment returns a Tcl list of the entries in the currently selected NIS map.
  • get_nis_map_field reads a field value from the currently selected NIS map.
  • list_nis_map or list_nis_map_with_comment lists to stdout of the entries in the currently selected NIS map.