Accessing session properties using Java™
The following methods access the Session properties:
- getAddressBooks returns a java.util.Vector object of Database objects representing all accessible Domino® Directories and Personal Address Books.
- getAgentContext returns an AgentContext object representing the current agent environment for programs being run as agents.
- getCommonUserName returns a String value containing the common name of the session's server or user.
- getHttpURL returns
a String value containing the HTTP URL of the server.
- getInternational returns an International object representing the international settings in the operating environment.
- isConvertMIME returns true if items of type Item.MIME_PART are converted to rich text upon Item instantiation; setConvertMIME sets conversion for MIME items.
- isOnServer returns true if the environment is a server.
- isValid returns true if the Session object is still valid.
- getNotesVersion returns a String value containing the version of the session's server or user.
- getOrgDirectoryPath returns a String value containing the default directory of the current user in a hosted organization.
- getPlatform returns a String value containing the operating system platform.
- getServerName returns a String value containing the full name of the session's server.
- getUserGroupNameList returns a vector of Name objects representing the groups to which the current user belongs.
- getUserName returns a String value containing the full name of the session's server or user.
- getUserNameList returns a vector of Name objects representing the name of the session's server or user, and the alternate name if applicable.
- getUserNameObject returns a Name object representing the name of the session's server or user.