Checks if the tenant is configured to allow encryption.
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.
Property Value/Return Value
Returns true if the tenant is configured to allow encryption, otherwise false.
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')