12.9 Control Center Standard Parameters (Built-in Parameters)

  • _AMPATH - the path where AM is currently installed.

  • _DCPATH - the path where Diagnostic Console is currently installed.

  • _MACHINENAME - environment variable.

  • _OSVERSION - environment variable.

  • _USERDOMAINNAME - environment variable.

  • _USERNAME - returns the current logged in NT user - this is not always the same as the user who logs on to the Control Center console.

  • _CURRENTDIRECTORY - environment variable.

  • _SYSTEMDIR - environment variable.

  • _PERSONALDIR - environment variable.

  • _PROGRAMSDIR - environment variable.

  • _COMMANDPROGRAMDIR - environment variable.

  • _REPOSITORYSERVER - parses the repository column in the current list View and returns the name of the server (e.g. beltaftb01). If multiple selections are specified this function will only be based on the first selected row.

  • _REPOSITORYNAME - parses the repository column in the current list View and returns the name of the repository (e.g. QDB). If multiple selections are specified this function will only be based on the first selected row.

  • _REGLOOKUP(hive, subkey, value) - looks up any registry entry and returns its value as a string. For example: %%_REGLOOKUP("HKEY_LOCAL_MACHINE", "SOFTWARE\NetIQ\AppManager\4.0","InstallPath")%%

  • _ENVLOOKUP(envVarName) - looks up any environment variable on the console machine. For example: %%_ENVLOOKUP("Path")%%

  • _LISTSCHEMA - Lists all column names for the current View type that may be used as a data-centric parameter. This method is useful for determining the real names of the columns.

  • _LOGONNAME -The name of the user currently logged into the CC console.

  • _LOGONPASSWORD - The password the user logged in to the Control Center console with.

  • _LOGONMODE - The authentication mode of the current Control Center console user - NT or SQL (0=WinNT, 1=SQL).

  • _LOGONSERVER - The server where the Control Center repository database exists.