IsResetVariables

Determines whether to reset environment variables when running the command.

Syntax

bool IsResetVariables {get; set;}

Property value

Set true to reset environment values when the user runs the command.

Discussion

The dzdo.env_keep configuration parameter in the centrifydc.conf file defines a set of environment variables to retain from the current user's environment when the command is run, regardless of whether the IsResetVariables property is true or false. When you set this property true, if you want to specify additional variables to retain from the user's environment, list the variables in the VariablesToKeepOrDelete property.

The dzdo.env_delete configuration parameter in the centrifydc.conf file defines a set of environment variables to delete from the current user’s environment when the command is run, regardless of whether the IsResetVariables property is true or false. When you set this property false, if you want to specify additional environment variables to remove, list those variables in the VariablesToKeepOrDelete property.