LOTUSSCRIPT/COM/OLE CLASSES
Represents the environment of the current script, providing access to environment variables, Address Books, information about the current user, and information about the current Notes platform and release number.
Containment
Contains: NotesAdministrationProcess, NotesAgent, NotesColorObject, NotesDatabase, NotesDateRange, NotesDateTime, NotesDbDirectory, NotesDirectory, NotesDocument, NotesDocumentCollection, NotesDOMParser, NotesDXLExporter, NotesDXLImporter, NotesInternational, NotesName, NotesLog, NotesNewsletter, NotesPropertyBroker, NotesRegistration, NotesRichTextParagraphStyle, NotesRichTextStyle, NotesSAXParser, NotesStream, NotesTimer, NotesXSLTransformer
Properties
AddressBooks
CommonUserName
ConvertMime
CurrentAgent
CurrentDatabase
DocumentContext
EffectiveUserName
HttpURL
International
IsOnServer
LastExitStatus
LastRun
NotesBuildVersion
NotesURL
NotesVersion
OrgDirectoryPath
Platform
SavedData
ServerName
URLDatabase
UserGroupNameList
UserName
UserNameList
UserNameObject
Methods
CreateAdministrationProcess
CreateColorObject
CreateDateRange
CreateDateTime
CreateDOMParser
CreateDxlExporter
CreateDxlImporter
CreateLog
CreateName
CreateNewsletter
CreateRegistration
CreateRichTextParagraphStyle
CreateRichTextStyle
CreateSAXParser
CreateStream
CreateTimer
CreateXSLTransformer
Evaluate
FreeTimeSearch
GetDatabase
GetDbDirectory
GetDirectory
GetEnvironmentString
GetEnvironmentValue
GetPropertyBroker
GetUserPolicySettings
HashPassword
Initialize
InitializeUsingNotesUserName
New
ResetUserPassword
Resolve
SendConsoleCommand
SetEnvironmentVar
UpdateProcessedDoc
VerifyPassword
Creation and access
To access the current session, use New.
Syntax
Dim variableName As New NotesSession
OR
Set notesSession = New NotesSession
To access the current session from a NotesDatabase object, use the Parent property in NotesDatabase.
To access the current session through COM, see "Creating a session object" and "Initializing a session."Examples
To access the current session through OLE, see "Using OLE."
Usage
Since there can only be one session per script, the New method always returns the same object each time you call it.
Do not delete session objects.
Example See Also