Login
function Login(username: string | null, password: string | null, persistent: boolean = true, reload: boolean = true): boolean
The Login function logs a user into the server.
Refer also to the description page for the corresponding API function.
Parameter
Name |
Type |
Description |
---|---|---|
username |
User name | |
password |
User password | |
persistent [ optional ] |
Defines whether the login should be persistent. The default value is true. | |
reload [ optional ] Available from version 1.12 |
Defines whether a reload should take place after the logout. The default value is true. |
Return value
Type |
Description |
---|---|
void |
No return value. |
NuGet package: Beckhoff.TwinCAT.HMI.Functions
![]() | NuGet packages are available from version 1.12. |
![]() | Available from 1.8 |