18.01.2015 Views

Technical Reference Manual - InduSoft

Technical Reference Manual - InduSoft

Technical Reference Manual - InduSoft

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Appendix: Built-in Scripting Language<br />

Examples<br />

Tag Name<br />

Expression<br />

Tag SetPassword( "Bob" )<br />

Tag SetPassword( "Albert", "anemarie" )<br />

UnblockUser<br />

This function unblocks a blocked user in the security system.<br />

Function Group Execution Windows Embedded Thin Client<br />

UnblockUser Security Synchronous Supported Supported Supported<br />

Syntax<br />

UnblockUser( strUserName )<br />

strUserName<br />

The name of the user to unblock.<br />

Returned value<br />

This function returns the following possible values:<br />

Value<br />

Description<br />

0 User unblocked successfully.<br />

1 Invalid number of parameters.<br />

2 Wrong parameter type.<br />

3 Specified user does not exist.<br />

4 User currently logged on does not have the rights to unblock (i.e., user does not<br />

have Edit Security System).<br />

5 The operation on the distributed security system failed.<br />

6 Specified user cannot be blocked.<br />

7 The current Security Mode does not allow user to be blocked/unblocked.<br />

8 Internal error.<br />

Examples<br />

Tag Name<br />

Expression<br />

Tag UnblockUser( "Bob" )<br />

Tag UnblockUser( "Albert" )<br />

<strong>InduSoft</strong> Web Studio Page 595

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!