delete_rs_env
Use the delete_rs_env command to delete the currently selected restricted environment from Active Directory and from memory. After you run this command, you cannot run subsequent ADEdit commands for a restricted shell environment because there will be no currently selected restricted shell environment available in memory.
Zone Type
Classic only
Syntax
delete_rs_env
Abbreviation
dlrse
Options
This command takes no options.
Arguments
This command takes no arguments.
Return Value
This command returns nothing if it runs successfully.
Examples
delete_rs_env
This example deletes the currently selected RSE from Active Directory and from memory.
Related Commands
Before you use this command, you must have a currently selected role stored in memory. The following commands enable you to view and select the role to work with restricted shell environments:
get_rs_envsreturns a Tcl list of restricted shell environments.list_rs_envslists tostdoutthe restricted shell environments.new_rs_envcreates a new restricted shell environment and stores it in memory.select_rs_envretrieves a restricted shell environment from Active Directory and stores it in memory.
After you have a restricted shell environment stored in memory, you can use the following commands to work with its fields:
get_rse_fieldreads a field value from the current restricted shell environment.save_rs_envsaves the restricted shell environment to Active Directory.set_rse_fieldsets a field value in the current restricted shell environment.