Compartir a través de


ENCRYPTIONKEYEXISTS

Checks whether an encryption key for the current tenant is present on the server tenant.

Bool ENCRYPTIONKEYEXISTS()

Property Value/Return Value

Value: Boolean

Returns true if the encryption key exists, otherwise false.

Example

This code example performs checks to determine if an encryption key already exists.

IF ENCRYPTIONENABLED THEN
        IF ENCRYPTIONKEYEXISTS THEN
          MESSAGE('Encryption has been enabled and the encryption key is present in this server instance')
        ELSE
          MESSAGE('Encryption has been enabled but the encryption key is not present on this server instance')
      ELSE
        MESSAGE('Encryption has not been enabled')

See Also

Concepts

System
Technical Reference
C/SIDE Reference Guide