ENCRYPTIONENABLED
Checks if the tenant is configured to allow encryption.
Note
This does not mean that an encryption key is present on the Microsoft Dynamics NAV Server, only that the system is expecting to use one. This situation can arise if multiple servers are in use but the encryption key has not yet been deployed to each of them.
Syntax
Bool ENCRYPTIONENABLED()
Property Value/Return Value
Value: Boolean
Returns true if the tenant is configured to allow encryption, otherwise false.
Example
This code example checks if the tenant is configured for encryption.
IF ENCRYPTIONENABLED THEN
MESSAGE('Encryption has been enabled')
ELSE
MESSAGE('Encryption has not been enabled')