LOTUSSCRIPT/COM/OLE CLASSES


Accessing session properties
Example

The following table lists the NotesSession properties.

PropertyData typeDescription
AddressBooksNotesDatabase array(Read-only) Accessible Public and Personal Address books, both local and remote
CommonUserNameString(Read-only) Common name of the current server or user
ConvertMIMEBoolean(Read-write) True if items of type MIME_PART are converted to rich text upon instantiation
CurrentAgentNotesAgent(Read-only) Agent in which the program is running
CurrentDatabaseNotesDatabase(Read-only) Database in which the program is running
DocumentContextDocumentContext(Read-only) In-memory document created by an external program through the Notes API
EffectiveUserNameString(Read-only) User ID of the creator of the current script
HttpURL String(Read-only) The HTTP URL of a session.
International NotesInternational (Read-only) The international (regional) settings for your operating environment
IsOnServerBoolean(Read-only) True if the program is running on a server
LastExitStatusInteger(Read-only) Status the last time the script ran, if an agent
LastRunDate/Time(Read-only) Date and time the script last ran, if an agent
NotesBuildVersion String(Read-only) Build version of Domino Designer
NotesURL String(Read-only) The Notes URL of a session. For COM only.
NotesVersionString(Read-only) Version of Domino Designer
OrgDirectoryPathString(Read-only) Default directory of the current user in a hosted organization
PlatformString(Read-only) Operating system platform
SavedDataNotesDocument(Read-only) Document that stores data between agent invocations, if an agent
ServerName String(Read-only) The full name of the server. For COM only.
URLDatabase NotesDatabase(Read-only) Database object representing the default Web Navigator database.
UserGroupNameListArray of NotesName(Read-only) Returns the groups to which the current user belongs
UserNameString(Read-only) User ID (hierarchical name) of the current server or user
UserNameList Array of NotesName(Read-only) Returns all the user names on a session, including primary and alternate names
UserNameObject NotesName(Read-only) The name of the user or server that created the session. For COM only.

Example
See Also