Compiler Error AL0809

Note

The AL diagnostics topics are in preview. If you have input for this topic, we'd love to hear from you. Use our GitHub repo to create a PR and add content to this topic by going to here. To read about contributing, see Contribute to the Help. Thanks!

The variable '{0}' is not allowed to be of type 'SecretText' because it is declared as protected.

Description

Protected variables cannot be of type 'SecretText' as that could lead to the accidental exposure of the secret value to an extension.

See Also

Getting Started with AL
Developing Extensions