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 
Returns a value indicating whether the FileMaker Pro or FileMaker Go connection to the host uses SSL, including whether the Server name matches the Server-side certificate (providing the highest security). Returns:
 •
0 for no network connection for the current file.
 •
1 for a non-secured connection (FileMaker Server with SSL disabled, or to a FileMaker Pro host).
 •
2 for a secured connection (SSL) when the server name doesn’t match the certificate (default FileMaker Server installation).
 •
3 for a secured connection with a fully verified server name in the certificate.
Notes
 •
 •
Examples 
Returns 3 when the Server name matches the name indicated in a Server root certificate obtained from a trusted authority.
Related topics 
Functions reference (category list)
Functions reference (alphabetical list)
About formulas
About functions
Defining calculation fields
Using operators in formulas