Lotus Software logo
IBM Lotus Domino Designer 8.5
  Versions 8.5 and 8.5.1






getEnvironmentValue method

Given the name of a numeric environment variable, retrieves its value.

Defined in

Session

Syntax

public Object getEnvironmentValue(String vname)

throws NotesException
public Object getEnvironmentValue(String vname, boolean issystem)

throws NotesException

Parameters

String vname

The name of the environment variable to get.

boolean issystem

If true, the method uses the exact name of the environment variable. If false or omitted, the method prepends "$" to the name before retrieving its value.

Return value

Object

The value of the environment variable.

Usage

This method retrieves the environment variable from the NOTES.INI file for the current session.

Do not use this method for string values.

Language cross-reference

GetEnvironmentValue method in LotusScript NotesSession class

See examples

Examples: getEnvironmentValue method
Related topics
Using environment variables




Library | Support | Terms of use |

Last updated: Monday, October 5, 2009