WindowsLogon

(Engine-Level Function)

Description: Authentication request to Windows Authentication services.
Returns: Boolean to indicate success or failure
Usage: Steady State only.
Function Groups: Security
Related to:  
Format: WindowsLogon(Username, Password[,LogonError])
Parameters:  
Username
Required. The account name to authenticate.
Password
Required. The password, required to authenticate the given account.
LogonError
Optional. Output parameter that sets an error code (non-zero integer) in case of login failure or sets 0 in the case of a successful login.
Comments:

This function should not be used for VTScada-based authentication.

Note that this function may take some time to complete and will block the caller until it does. Other threads in the VTScada system will continue to run while this function is executing.