18.01.2015 Views

Technical Reference Manual - InduSoft

Technical Reference Manual - InduSoft

Technical Reference Manual - InduSoft

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Appendix: Built-in Scripting Language<br />

Returned value<br />

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

Value<br />

Description<br />

-2 Wrong parameter type.<br />

-1 Invalid number of parameters.<br />

0 Couldn't write security data.<br />

1 File exported successfully.<br />

Examples<br />

ExportSecuritySystem( "C:\security.txt" )<br />

ExportSecuritySystem( "C:\security.txt", "mypa55w0rd" )<br />

GetSecuritySystemStatus<br />

This function gets the status of the security system and its connection to the authentication server, when the<br />

security mode is either Distributed–Client or Domain (LDAP).<br />

Function Group Execution Windows Embedded Thin Client<br />

GetSecuritySystemStatus<br />

Synchronous Supported Supported Supported<br />

Syntax<br />

GetSecuritySystemStatus({ | { optNumType | 0 | 1 | 2 } })<br />

GetSecuritySystemStatus()<br />

GetSecuritySystemStatus( optNumType )<br />

optNumType<br />

The type of action to take to update the status.<br />

Value<br />

Description<br />

0 Perform a fast check using either Ping or Bind (depending on the<br />

server settings), but take no other actions.<br />

1 Force reload of users and groups from the authentication server.<br />

2 Clear cached users and groups.<br />

This is an optional parameter; if no value is specified, then the default is 0.<br />

Returned value<br />

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

Value Security Mode is Distributed–Client Security Mode is Domain (LDAP)<br />

0 No cache Connection timeout<br />

1 Updated cache Bind timeout<br />

2 Outdated local cache Query timeout<br />

3 Outdated server cache Disconnected<br />

4 Disconnected from server Connected<br />

Page 588<br />

<strong>InduSoft</strong> Web Studio

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

Saved successfully!

Ooh no, something went wrong!