get_nis_maps
Use the get_nis_maps command to check Active Directory and return a Tcl list of NIS maps defined within the currently selected zone. If executed in a script, this command does not output its list to stdout, and no output appears in the shell where the script is executed. Use list_nis_maps to output the list of NIS maps to stdout.
Zone Type
Not applicable
Syntax
get_nis_maps
Abbreviation
gnms
Options
This command takes no options.
Arguments
This command takes no arguments.
Return Value
This command returns a Tcl list of NIS maps defined in the currently selected zone.
Examples
get_nis_maps
This example returns the list of NIS maps: Aliases Printers Services
Related Commands
Before you use this command, you must have a currently selected zone stored in memory. The following commands enable you to view and manage NIS maps:
delete_nis_mapdeletes the selected NIS map from Active Directory and from memory.list_nis_mapslists tostdoutall NIS maps in the currently selected zone.new_nis_mapcreates a new NIS map and stores it in memory.save_nis_mapsaves the selected NIS map with its current entries to Active Directory.select_nis_mapretrieves a NIS map from Active Directory and stores it in memory.
After you have a NIS map stored in memory, you can use the other commands to work with that map’s entries.