Use to unblock a blocked user in the system.

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


UnblockUser( strUserName )
The name of the user to unblock.

Returned value

This function returns the following possible values:
Value Description
0 User blocked successfully.
1 Invalid number of parameters.
2 Wrong parameter type.
3 Specified user does not exist.
4 User currently logged on does not have the rights to unblock (i.e., user does not have Edit Security System).
5 The operation on the distributed security system failed.
6 Specified user cannot be blocked.
7 The current Security Mode does not allow user to be blocked/unblocked.
8 Internal error.


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