LOTUSSCRIPT/COM/OLE CLASSES

GetEnvironmentValue method
Example

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

Defined in

NotesSession

Syntax

valueV = notesSession.GetEnvironmentValue( name$ [, system ] )

Parameters

name$


system
Return value

valueV


Usage

User must be listed in the server document/agent manager section in order to access environment variables (notes.ini file) through LotusScript or Java.

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. For more information, see "Restricting agents on servers" in Domino 5 Administration Help.

Language cross-reference

getEnvironmentValue method in Java Session class

Example
See Also