beckhoff TE1000 TwinCAT 3 — 5.7.1 ITcUserManagement

API | ITcUserManagement Properties Methods (none) Error codes: TSM_E_ITEMDELETED : The underlying Tree Item is no longer valid. E_POINTER : Invalid output pointer during read operation. 5.7 ITcUserManagement | ITcUserManagement ITcUserManagement is the interface for automation user management. It allows scripts to log in a user from the current user database and retrieve the name of the active user. The ITcUserManagement2 extension adds the selection of the active user database at runtime. The family is implemented by the CoClass TcUserManagement. Chain of inheritance ITcUserManagement └── ITcUserManagement2 The CoClass TcUserManagement implements this family.

Interface versions 5.7.1 ITcUserManagement | ITcUserManagement Extended by: ITcUserManagement2 [ } 72] Entry interface for the automation user management system. Allows scripts to log in a user from the current user database and retrieve the name of the active user. Properties TE1000 71 Version: 1.7.0 Property Type get/set Description DocumentXml BSTR get/set Reads or writes the **entire document content (object file) as XML** (BSTR). Version Newly introduced Index ITcUserManagement Root Interface: Log in a user, retrieve the active user. ITcUserManagement ITcUserManagement 2 Select the active user database by name, ID, or file.

ITcUserManagement2 Property Type get/set Description ActiveUser BSTR* get Returns the name of the currently logged-in user in the selected user database.