GetUserState

Use to see the current status of a selected user.

Function Group Execution Windows Embedded Thin Client
GetUserState Security Synchronous Supported Supported Supported

Syntax

GetUserState(strUserName)
strUserName
The name of the user

Returned value

This function returns the following possible values:
Value Description
-3 Specified user does not exist.
-2 Wrong parameter type.
-1 Invalid number of parameters.
0 Specified user is unblocked.
1 Specified user is blocked.

Examples

Tag Name Expression
Tag GetUserState( "Bob" )
Tag GetUserState ( "Albert" )