LOTUSSCRIPT/COM/OLE CLASSES


GetEnvironmentString method
Example

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

Defined in

NotesSession

Syntax

value$ = notesSession.GetEnvironmentString( name$ [, system ] )

Parameters

name$


system
Return value

value$


Usage

If the script runs on a workstation, this method retrieves the environment variable from the current user's notes.ini (or Notes Preferences) file. If the script runs on a server, this method retrieves the environment variable from the server's notes.ini file, subject to administrative restrictions (see "Restricting agents on servers" in Administration Help or Administering the Domino System).

Language cross-reference

getEnvironmentString method in Java Session class

@Environment in formula language

ENVIRONMENT keyword in formula language

Example
See Also