ForceLogout

function ForceLogout(username: string | null | undefined): boolean

The ForceLogout function logs out a specific user or all users on all client instances connected to the server.

Refer also to the description page for the corresponding API function.

Parameter

Name

Type

Description

username [ optional ]

string | null | undefined

The user name to be logged out on all client instances connected to the server.
If the parameter is not specified, all users will be logged out.

 

Return value

Type

Description

boolean

Returns false in case of error.

NuGet package: Beckhoff.TwinCAT.HMI.Functions

ForceLogout 1:

NuGet packages are available from version 1.12.

ForceLogout 2:

Available from version 1.10