GetUserState
Use to see the current status of a selected user.
| Function | Group | Execution | Windows | Embedded | Thin Client | Mobile Access | 
| GetUserState | Security | Synchronous | Supported | Supported | Supported | Not supported | 
Syntax
- 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” ) | 
 
 
 
 GetUserState