Executes a user login in TMLScript
This method can permanently login the web user to a domain for the current browser session. It performs the same operation that an OpenWGA login page would do. The login information will be stored to the user session and used to open all databases in the given domain.
A successful login takes effect immediately. Databases of this domain that already have been opened in the current request will be automatically reopened with the new login information.
Eventually Unsaved changes to documents in those reopened databases will be dropped.
For backward compatibility there still is a method "login()" available on TMLContext whose use is discouraged since OpenWGA 5.3.
user (String): The username to login
password (String): The password for the username
true on a successful login, false otherwise
|Allowed in script types||