NotesSession class


Represents the Notes 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: NotesAgent, NotesDatabase, NotesDateRange, NotesDateTime, NotesDbDirectory, NotesInternational, NotesLog, NotesNewsletter

Properties
AddressBooks
CommonUserName
CurrentAgent
CurrentDatabase
DocumentContext
EffectiveUserName
International
IsOnServer
LastExitStatus
LastRun
NotesBuildVersion 5
NotesVersion
Platform
SavedData
UserName
UserNameList 5


Methods
CreateDateRange
CreateDateTime
CreateLog
CreateName
CreateNewsletter
CreateRichTextStyle (R4.6)
CreateRichTextParagraphStyle 5
CreateTimer
FreeTimeSearch
GetDatabase
GetDbDirectory
GetEnvironmentString
GetEnvironmentValue
New
SetEnvironmentVar
UpdateProcessedDoc

Creation and access
To access the current session, use New.

To access the current session from a NotesDatabase object, use the Parent property in NotesDatabase.