The TokOpen_Environment is the top level object within TokOpen. It cannot be created by the API but can be referenced from the TOKOPEN_VIEW object which is created by the API. The Environment has the following Properties.
DBVersion as String
Read Only, indicating version of TokOpen database
UserName as String
Read Only, indicating the current logged in user name
UserId as Long
Read Only, indicating the current logged in user number
Database_Name as String
Read Only, indicating the TokOpen Database Alias
Version as String
Read Only, indicating version of TokOpen.exe
DocumentAuditing as Boolean
Read Only, indicates if document auditing is enabled
VersionControl as Boolean
Read Only, indicates if version control is enabled
DocTypes As TOKOPEN_DOCTYPELIST
A collection of all the document types defined in TokOpen
Drawers As TOKOPEN_DRAWERLIST
A collection of all the Drawers defined in TokOpen
Groups As TOKOPEN_GROUPLIST
A collection of all the Groups defined in TokOpen
Users As TOKOPEN_USERLIST
A collection of all the Users defined in TokOpen
Media As TOKOPEN_MEDIALIST
A collection of all the defined storage locations defined in TokOpen
Views As TOKOPEN_VIEWLIST
A collection of all the Views open in TokOpen.