Redigera

Dela via


System.EncryptionEnabled() Method

Version: Available or changed with runtime version 1.0.

Checks if the tenant is configured to allow encryption.

Syntax

Ok :=   System.EncryptionEnabled()

Note

This method can be invoked without specifying the data type name.

Return Value

Ok
 Type: Boolean

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')  

System Data Type
Get Started with AL
Developing Extensions