Get(ConnectionState)
 
Purpose 
Returns a number representing the security state of the network connection for the current file.
Format 
Get(ConnectionState)
Parameters 
None
Data type returned 
number
Originated in 
FileMaker Pro 12.0
Description 
Secure connections are encrypted using SSL. If security is important in your environment, your server administrator needs to install a custom SSL certificate.
Returns:
 •
0 for no network connection for the current file.
 •
1 for a connection that is not encrypted (FileMaker Server with SSL disabled, or to a FileMaker Pro host).
 •
2 for a connection that is encrypted but for which the SSL certificate for FileMaker Server cannot be verified. You may be connected to a server pretending to be your actual destination, which could put your confidential information at risk.
 •
3 for a connection that is encrypted with a verified SSL certificate.
Note
For information on how functions evaluate differently on the host versus the client, search the FileMaker Knowledge Base available at http://help.filemaker.com.
Examples 
Returns 3 when the connection is encrypted with a verified SSL certificate.
Related topics 
Functions reference (category list)
Functions reference (alphabetical list)
About formulas
About functions
Defining calculation fields
Using operators in formulas