- Examples: NotesSession class
This script creates a new NotesSession and uses it to access the current database (the database in which the script is running). This technique avoids hard-coding the file names of databases into scripts.
- AddressBooks (NotesSession - LotusScript)
Read-only. The Domino® Directories and Personal Address Books, including directory catalogs, known to the current session.
- CommonUserName (NotesSession - LotusScript)
Read-only. The common name portion of the current user's name.
- ConvertMIME (NotesSession - LotusScript)
Read-write. Indicates whether items of type MIME_PART are converted to rich text upon NotesDocument instantiation.
- CurrentAgent (NotesSession - LotusScript)
Read-only. The agent that's currently running.
- CurrentDatabase (NotesSession - LotusScript)
Read-only. The database in which the current script resides. This database may or may not be open.
- DocumentContext (NotesSession - LotusScript)
Read-only. The in-memory document when an agent starts.
- EffectiveUserName (NotesSession - LotusScript)
- HttpURL (NotesSession - LotusScript)
Read-only. The Domino® URL of a session when HTTP protocols are in effect.
- International (NotesSession - LotusScript)
Read-only. The international (regional) settings for your operating environment.
- IsOnServer (NotesSession - LotusScript)
Read-only. Indicates whether a script is running on a server.
- LastExitStatus (NotesSession - LotusScript)
Read-only. The exit status code returned by the Agent Manager the last time the current agent ran.
- LastRun (NotesSession - LotusScript)
Read-only. The date when the current agent was last executed.
- NotesBuildVersion (NotesSession - LotusScript)
Read-only. The Notes® build version in which a selected document resides.
- NotesURL (NotesSession - LotusScript)
Read-only. The Domino® URL of a session when Notes® protocols are in effect.
- NotesVersion (NotesSession - LotusScript)
Read-only. The release of Notes® in which the current script is running.
- OrgDirectoryPath (NotesSession - LotusScript)
Read-only. The default directory of the current user in a hosted organization.
- Platform (NotesSession - LotusScript)
Read-only. The name of the platform on which the session is running.
- SavedData (NotesSession - LotusScript)
Read-only. A document that an agent script uses to store information in between invocations. The script can use the information in this document the next time the script runs.
- ServerName (NotesSession - LotusScript)
Read-only. The full name of the server that the session is running on.
- URLDatabase (NotesSession - LotusScript)
Read-only. A database object representing the default Web Navigator database.
- UserGroupNameList (NotesSession - LotusScript)
Read-only. The groups to which the current user belongs.
- UserName (NotesSession - LotusScript)
Read-only. The current user's name.
- UserNameList (NotesSession - LotusScript)
Read-only. The name of the user or server that created the session, and the alternate name if it exists.
- UserNameObject (NotesSession - LotusScript)
Read-only. The name, in the form of a NotesName object, of the user or server that created the session.
- CreateAdministrationProcess (NotesSession - LotusScript)
Creates a new NotesAdministrationProcess object.
- CreateColorObject (NotesSession - LotusScript)
Creates a new NotesColorObject object.
- CreateDateRange (NotesSession - LotusScript)
Creates a new NotesDateRange object.
- CreateDateTime (NotesSession - LotusScript)
Given a string that represents the date and time you want, creates a new NotesDateTime object that represents that date and time. When used with OLE automation, this method allows you to create a NotesDateTime object without using New.
- CreateDOMParser (NotesSession - LotusScript)
Creates a NotesDOMParser object.
- CreateDXLExporter (NotesSession - LotusScript)
Creates a NotesDXLExporter object.
- CreateDXLImporter (NotesSession - LotusScript)
Creates a NotesDXLImporter object.
- CreateLog (NotesSession - LotusScript)
Creates a new NotesLog object with the name you specify. When used with OLE automation, this method allows you to create a NotesLog object without using New.
- CreateName (NotesSession - LotusScript)
Creates a new NotesName object. When used with OLE automation, this method allows you to create a NotesName object without using the New method of NotesName.
- CreateNewsletter (NotesSession - LotusScript)
Given a NotesDocumentCollection containing the documents you want, creates a new NotesNewsletter. When used with OLE automation, this method allows you to create a NotesNewsletter object without using New.
- CreateRegistration (NotesSession - LotusScript)
Creates a new NotesRegistration object.
- CreateRichTextParagraphStyle (NotesSession - LotusScript)
Creates a new NotesRichTextParagraphStyle object.
- CreateRichTextStyle (NotesSession - LotusScript)
Creates a NotesRichTextStyle object.
- CreateSAXParser (NotesSession - LotusScript)
Creates a NotesSAXParser object.
- CreateStream (NotesSession - LotusScript)
Creates a NotesStream object.
- CreateTimer (NotesSession - LotusScript)
Creates a NotesTimer object.
- CreateXSLTransformer (NotesSession - LotusScript)
Creates a NotesXSLTransformer object.
- Evaluate (NotesSession - LotusScript)
Evaluates a Domino® formula.
- FreeResourceSearch (NotesSession - LotusScript)
Searches for free resource slots for calendaring and scheduling.
- FreeTimeSearch (NotesSession - LotusScript)
Searches for free time slots for calendaring and scheduling.
- GetCalendar (NotesSession - LotusScript)
Creates a new NotesCalendar
object.
- GetDatabase (NotesSession - LotusScript)
Creates a NotesDatabase object that represents the database located at the server and file name you specify, and opens the database, if possible.
- GetDbDirectory (NotesSession - LotusScript)
Creates a new NotesDbDirectory object using the name of the server you want to access. When used with OLE automation, this method allows you to create a NotesDbDirectory object without using New.
- GetDirectory (NotesSession - LotusScript)
Creates a new NotesDirectory object using the name of the server you want to access.
- GetEnvironmentString (NotesSession - LotusScript)
Given the name of a string environment variable, retrieves its value.
- GetEnvironmentValue (NotesSession - LotusScript)
Given the name of a numeric environment variable, retrieves its value.
- GetPropertyBroker (NotesSession - LotusScript)
Retrieves the property broker for this session.
- GetUserPolicySettings (NotesSession - LotusScript)
Gets a policy document.
- HashPassword (NotesSession - LotusScript)
Hashes a string value so that it is not recognizable.
- Initialize (NotesSession - LotusScript)
Initializes a COM session with the current user ID.
- InitializeUsingNotesUserName (NotesSession - LotusScript)
Initializes a COM session with a specified user name.
- ResetUserPassword (NotesSession - LotusScript)
Use an agent to change the password of a user ID stored in the ID vault and/or specify the number of times a user ID can be downloaded from the vault after a password reset or ID recovery.
- Resolve (NotesSession - LotusScript)
Returns the Domino® object that a URL addresses.
- SendConsoleCommand (NotesSession - LotusScript)
Sends a console command to a Domino® server.
- SetEnvironmentVar (NotesSession - LotusScript)
Sets the value of a string or numeric environment variable.
- UpdateProcessedDoc (NotesSession - LotusScript)
Marks a document as processed by an agent.
- UseDoubleAsPointer (NotesSession - LotusScript )
Allows you to use a Double to handle a 64-bit pointer argument for a C API call.
- VerifyPassword (NotesSession - LotusScript)
Verifies a plain string value against a hashed value.