Given the name of a string or numeric environment variable, retrieves its value.
public String getEnvironmentString(String vname)
throws NotesException
public String getEnvironmentString(String vname, boolean issystem)
throws NotesException
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.
String
The value of the environment variable.
This method retrieves the environment variable from the NOTES.INI file for the current session.
GetEnvironmentString method in LotusScript NotesSession class
@Environment function in formula language
ENVIRONMENT keyword in formula language
See examples